View Single Post
  #92   Report Post  
Duane Bozarth
 
Posts: n/a
Default

lgb wrote:

In article ,
says...
Dave Hinz wrote:

...

I just couldn't stand the whole "doing things 4 times" aspect of it.
Hey, I'm gonna use a variable. Here is what it's called. Here is what
it's set to. OK, now, use it.

...

I've used Fortran since before there was a Standard in many incarnations
but fail to recognize the above complaint???


Same reaction here. Of course you had to use DIMENSION and EQUIVALENCE
statements, but simple variables could be used without decaratives.


There was no requirement for EQUIVALENCE. I'd think only a small
fraction of all FORTRAN programs actually used it at all (although, of
course, there were/are reasons for needing it).

Some versions even set all data to zero when the program started, so you
wouldn't get the undefined values problem.


Non-standard and therefore, not wise if one ever moved platforms...but
I've seen a lot of code that relied on the behavior and a lot of errors
in comp.lang.fortran because of it...