X-no-Archive:yes
On Monday, November 06, 2000 3:22 PM, Tracy Pierce wrote:
> a good point re portability; I believe that HP's %octal
> representation is non-standard.
So I was bemused to find the following in command line help for the SET
command on NT:
Numeric values are decimal numbers, unless
prefixed by 0x for hexidecimal numbers, 0b for binary numbers and 0 for
octals numbers. So 0x12 is the same as 0b10010 is the same as 022.
Please note that the octal notation can be confusing: 08 and 09 are
not valid numbers because 8 and 9 are not valid octal digits.
While this has nothing to do whatsoever with COBOL, I found it interesting
that octal is available on a relatively current OS, even though I would be
mildly surprised to see it in someone's batch job.
Greg Stigers
http://www.cgiusa.com