I'm getting unexpected results from the hex conversions in Unidata 6.0.12 on
NT:

PROGRAM BJGTEST
*
CRT "OCONV('1','MO')=" : OCONV('1','MO')
CRT "OCONV('1','MO0C')=" : OCONV('1','MO0C')
CRT "OCONV('1','MX0C')=" : OCONV('1','MX0C')
CRT "OCONV('1','MX')=" : OCONV('1','MX')
CRT "ICONV('F','MX')=" : ICONV('F','MX')
*
STOP


the results I get are:

OCONV('1','MO')=001
OCONV('1','MO0C')=061
OCONV('1','MX0C')=31
OCONV('1','MX')=31
ICONV('F','MX')=

The octal conversions and the hex-ascii conversion seem okay. But I would
expect the fourth line to read '1' or '01', and the fifth line to read '15'?
Is this a problem anyone else gets?

Cheers,
-Ben
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to