Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!uunet!eliot!slr From: slr@eliot.UUCP (Stuart Roll/Development) Newsgroups: comp.lang.rexx Subject: Re: Dollarizing Message-ID: <1991Apr30.191547.6197@eliot.uucp> Date: 30 Apr 91 19:15:47 GMT Article-I.D.: eliot.1991Apr30.191547.6197 References: <91119.112324DSB100@psuvm.psu.edu> Sender: usenet@eliot.uucp (USENET software owner) Reply-To: slr@eliot.UUCP (Stuart Roll/Development) Distribution: na Organization: Systems Center, Inc., Reston, VA, USA Lines: 37 In article <91119.112324DSB100@psuvm.psu.edu>, DSB100@psuvm.psu.edu (David Barr) writes: > In article , lordbah@amusing.UUCP (Jeff Van Epps) > says: > > >In article <91118.012747DSB100@psuvm.psu.edu> DSB100@psuvm.psu.edu (David > >Barr) > >writes: > >> > >> How about using > >> > >> format(number,,2) ? > >> > >> This will automatically round the decimal to two decimal places, and > >> fill with zeros when necessary. > > >Sounds good, but I can't find any reference to "format" in my ARexx > >manual, and it says "function not found" when I try to run this. Where > >does "format" come from? > The standard definition of Rexx is found in the book "The REXX Language" by M.F. Cowlishaw, who just by coincidence happens to be the author of the REXX language. The book is in it's second edition now (Prentice Hall) and contains the definition of "language version 4.00" The CMS implementation is (last I checked) not up to 4.00 yet. If you are an ARexx user and the powers that be haven't seen fit to implement the whole language, I'd suggest that you might want to jump up and down and throw fits until they do. I can't imagine them not implementing the format function. I wonder what else they left out? (Your ARexx book may list the differences in an appendix or something.) -- Stuart Roll ...!uunet!eliot!slr