Except in one regard - we have seen a bug in 10.x that breaks this behaviour.
It has affected two sites - one on Solaris and one on HPUX and has caused a lot of grief (one was a bank....) Brian On Wed, 13 Oct 2004 12:30:29 +1000 "Ray Wurlod" <[EMAIL PROTECTED]> wrote: >The stuff in quotes is a format specification. > >It's equivalent to using the Fmt function, for example Fmt(10.,'2') or Fmt(10.,'02'). >'2' is the same as '2 decimal places', '02' is the same as '0 decimal places with a >scaling factor of 2'. > >Originally from Pick, this shorthand is recognized in all flavours in BASIC. > >----- Original Message ----- >From: Barry Brevik <[EMAIL PROTECTED]> >To: "U2-users (E-mail)" <[EMAIL PROTECTED]> >Subject: [U2] [UV] Typo leads to discovery of new feature >Date: Tue, 12 Oct 2004 16:06:57 -0700 > >> >> I was writing some test code when a slip of the fingers resulted in some weird >> syntax, >which then proceded to compile, and produced some interesting output. >> >> Anybody have any idea what this code thinks it is doing? >> >> PRINT 10.2 >> PRINT 10.'2' >> PRINT 10.'02' >> >> program output: >> 10.2 >> 10.00 >> 1000 >------- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ > >________________________________________________________________________ >This email was checked by MessageLabs SkyScan before entering Microgen. ________________________________________________________________________ This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
