Unidata 7.1 on Win 2k

The Unibasic PRECISION setting (eg 'PRECISION 6') is not persisting for
called subroutines, but is falling back to its default of 4.

eg
SUBROUTINE TEST
A=24127.14063
B=24127.14062
CRT (A=B)
RETURN

PROGRAM TEST1
PRECISION 6
CALL TEST

This shows '1' showing that PRECISION 4 is being used.  If the PRECISION 6
is moved into TEST, it shows '0'.

I have a suspicion this may have changed at some point prior to UD 6.0.12
(the oldest version I now have) since we have a 'PRECISION 6' in our
initialisation software, and I believe that worked at the time.

Anyone know if there is any UDT.OPTIONS or something setting that I've
missed that will allow the precision to persist for a session rather than
just within a subroutine?

Cheers
Simon
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to