Re: "14 % 8" for example...
From: James Giles (jamesgiles_at_worldnet.att.net)
Date: 10/01/04
- Previous message: James Giles: "Re: a history question"
- In reply to: bv: "Re: "14 % 8" for example..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 01 Oct 2004 00:32:09 GMT
bv wrote:
> glen herrmannsfeldt wrote:
>>
>> I was guessing that it would be ambiguous with certain operators
>> that are dot delimited.
>>
>> X=A.GE.B
>
> Considering the ways how ADA could parse such an expression it would
> seem incredulous that an old timer like Fortran could stumble on its own
> *keyword*.
First, it's not a keyword, it's an intrinsic operator.
Second, even if it was a keyword, keywords are not reserved
in Fortran.
Both intrinsic operators and keywords must be use in ways consistent
with the rules of Fortran or they're likely to be ambiguous or just
wrong. The rules of Fortran don't permit the above to be interpreted
as a subobject name. Implementations the permit such extensions
should do so carefully and not misinterpret the above. I wouldn't
use the extension anyway. Nor would I recommend that anyone
else do so.
-- J. Giles "I conclude that there are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies." -- C. A. R. Hoare
- Previous message: James Giles: "Re: a history question"
- In reply to: bv: "Re: "14 % 8" for example..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|