slightly OT: nullifying an array of pointers

Brooks Moses bmoses@stanford.edu
Thu Jul 6 20:49:00 GMT 2006


Daniel Franke wrote:
> The pointers do not do as the ints do. For someone fluent in fortran this is 
> obvious. For someone who coded C(++) for years this deviating behaviour  
> (although standard conforming) is ... strange. I spent two, maybe three hours 
> this morning trying to figure out what the hell the compiler(s) kept 
> complaining about. As quoted by you, this behaviour is described in the 
> standard. That's fine for those who have the standards readily available - I 
> do not. 

Fortran 95 Standard (Final Draft):
http://j3-fortran.org/doc/year/97/97-007r2/pdf/97-007r2.pdf

Fortran 2003 Standard (Final Draft):
http://j3-fortran.org/doc/meeting/168/04-007.pdf

These are the unofficial final draft forms as voted on and approved by 
the committee, rather than the official releases (which have to be 
purchased).  Aside from some negiligible matters of formatting, however, 
they are identical.

- Brooks



More information about the Fortran mailing list