I'm on 10.0.15, Information flavour

I also get Mark's unexpected result, that is

With the last two lines commented out, the program outputs this (as
expected):-
1234.78
1235 

When I un-commented the last two lines, the output was:-
1234.78

8

Note the blank line: the later line of code has apparently affected the
output of the previous line of code!

I think I remember something about this, that maybe it was fixed in
10.0.17 or something like that.  We don't use that syntax anywhere so I
didn't worry too much.
Mark, I'd guess you're on 10.1.0, I'd try for an upgrade to 10.1.4 or
later (you'll get UniObjects for .NET, too)

HTH

Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pingilley, Ron
Sent: Tuesday, 21 September 2004 03:11
To: [EMAIL PROTECTED]
Subject: RE: [U2] Numeric rounding - UV 9.4 & 10.1

Mark,

        I'm on UV 10.1.2.

        The 1st value for Y didn't change after uncommenting the 2nd set
of statements.  It came back 1235 both times.  What did you observe, and
did you run this on UV 10.1.0?

--Ron Pingilley

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daly, Mark
Sent: Monday, September 20, 2004 9:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] Numeric rounding - UV 9.4 & 10.1


Quick follow up:  One of the guys discovered this:

Run the following pgm, then uncomment out the last 2 lines and run it
again.
Watch what happens to the first value for Y....
 

X = 1234.78
Y = X "0"
CRT X
CRT Y
                  
* Y = X"R#0"
* CRT Y


 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to