Re: Integers and standard



Richard Maine wrote:
(snip)

The extensions that allow you to use these forms in other contexts are a
different matter. Anyone who has something like

real x
x = 42 + z'....'

is just tempting fate as to whether any particular compiler will accept
it at all, or, if accepted, what it will mean. For that, I think I would
go with the harsh words. It's a bad idea that will come to no good end;
don't do it and don't expect the standard or compilers to come to your
aid if you do.

The OS/360 compilers, the first I knew with Z constants,
didn't have that problem.

real x
x - 42 + Z123

already had a different meaning.
That is why they were only allowed in DATA statements.

I suppose I wouldn't mind them as constant arguments to
the bitwise functions, though.

-- glen

.


Quantcast