Re: Integers and standard
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 18:41:34 -0800
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
.
- References:
- Integers and standard
- From: Alfredo Buttari
- Re: Integers and standard
- From: Richard Maine
- Re: Integers and standard
- From: glen herrmannsfeldt
- Re: Integers and standard
- From: Steven G. Kargl
- Re: Integers and standard
- From: glen herrmannsfeldt
- Re: Integers and standard
- From: Steven G. Kargl
- Re: Integers and standard
- From: glen herrmannsfeldt
- Re: Integers and standard
- From: Dan Nagle
- Re: Integers and standard
- From: glen herrmannsfeldt
- Re: Integers and standard
- From: Gary Scott
- Re: Integers and standard
- From: Richard Maine
- Integers and standard
- Prev by Date: Re: Integers and standard
- Next by Date: Re: Integers and standard
- Previous by thread: Re: Integers and standard
- Next by thread: Re: Integers and standard
- Index(es):