(j3.2006) Function result variables with the ASYNCHRONOUS attribute

Malcolm Cohen malcolm
Fri Apr 22 06:22:01 UTC 2011


Yes.

I am certainly at a loss as to how a function could return its value *without* referencing the result!  Surely that is what ?When ... the value of the function result is available ...? means.

From: Van Snyder 
Date: ?? 23?4?22? 15:03
To: fortran standards email list for J3 
Subject: (j3.2006) Function result variables with the ASYNCHRONOUS attribute

Does 9.6.4.1p6, viz.


  For asynchronous input, a pending input/output storage sequence affector shall not be referenced, become defined, become undefined, become associated with a dummy argument that has the VALUE attribute, or have its pointer association status changed.


envision the case of a function result being a pending input/output storage sequence affector at the time the function returns?

I.e., does producing the result val from the return back to the reference, or using the function result value at the point of the reference, constitute a reference to the function result variable?



-- 
................................Malcolm Cohen, Nihon NAG, Tokyo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://j3-fortran.org/pipermail/j3/attachments/20110422/8b076c80/attachment.html>



More information about the J3 mailing list