(j3.2006) the ASSOCIATE statement in Fortran 2003
Robert Corbett
robert.corbett
Mon Mar 5 15:41:05 EST 2012
Suppose F is a function that produces a data pointer value
as a result. Was it standard conforming to use a
reference to F as a selector in an ASSOCIATE statement
in Fortran 2003?
Consider
ASSOCIATE (X => F())
Clause 8.1.4.3 of the Fortran 2003 standard does not
appear to give X the POINTER attribute, but paragraph 3
of Clause 7.1.4.1 does not cover the case of a
selector.
Bob Corbett
More information about the J3
mailing list