Re: C style compound assignment operators
- From: "James Giles" <jamesgiles@xxxxxxxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 01:09:16 GMT
Ben Hetland wrote:
*** Hendrickson wrote:
I can't think of a way to do infix ++ operators, but this
at least lets anyone do the storage related things.
Infix? What would that do?
In C and C++ they are either prefix or postfix, and I guess both could
be implemented as functions in Fortran, except they couldn't be used
as statements alone.
I think he was talking about the syntactic issue:
I = J +++ K
Is this
I = J + (++K)
or is it
I = (J++) + K
or what?
Remember that Fortran has a source form in which spaces
are not significant.
--
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
.
- References:
- C style compound assignment operators
- From: Bernhard Enders
- Re: C style compound assignment operators
- From: Richard E Maine
- Re: C style compound assignment operators
- From: *** Hendrickson
- Re: C style compound assignment operators
- From: Ben Hetland
- C style compound assignment operators
- Prev by Date: Re: C style compound assignment operators
- Next by Date: STOP while writing
- Previous by thread: Re: C style compound assignment operators
- Next by thread: Re: C style compound assignment operators
- Index(es):