(j3.2006) Fortran 2003 question
Wed Jul 31 17:36:58 EDT 2013
I don't think the underlying text has changed for a while. 16.6.5, para
1 item (12) [page 454] of F2008 seems like old text to me. Argument
association is a form of association.
[Why any interest in F2003 at this point?]
On 7/31/13 4:17 PM, Robert Corbett wrote:
> On 07/31/13 05:45, Bill Long wrote:
>> Ultimately, 6.3 says "redefinition of a constant is never permitted".
> A dummy argument that is a data object is a variable, not a constant. How does
> the Fortran 2003 standard establish that redefinition of the dummy argument
> constitutes a redefinition of the actual argument? Suppose an expression
> appeared as the actual argument. What would prevent its redefinition?
> This issue is clarified in the Fortran 2008 standard. Paragraph 5 of Clause
> 5.3.10 [97:32-33] covers both the case of the constant and the case of the
> expression. I have been unable to find an equivalent statement in the Fortran
> 2003 standard.
> I think the statement is in the wrong context (Clause 5.3.10 is not where I
> think most people would expect to find such a restriction), but at least it is
> present in the standard.
> Bob Corbett
> J3 mailing list
> J3 at mailman.j3-fortran.org
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
More information about the J3