(j3.2006) [Re: 8.1.3.2, 8.1.3.3 and 16.5.1.6]

Cohen Malcolm malcolm
Tue Jan 26 19:13:44 EST 2016


On Jan 26, 2016, at 4:09 PM, Van Snyder <Van.Snyder at jpl.nasa.gov> wrote:
> 8.1.3.2 and 8.1.3.3 list some of the attributes of an associate name,
> but don't specify whether the associate name is optional, allocatable or
> a pointer.

Yes they do.

>  8.1.3.3 says that if the selector is optional it shall be
> present, but doesn't way whether the associate name has the OPTIONAL
...
>It's not obvious that a construct entity associated with a dummy
>argument is not a dummy argument.

Yes it is obvious.  "dummy argument" is a defined term with the meaning 
"entity whose identifier appears in a dummy argument list (R1237) in a 
FUNCTION, SUBROUTINE, ENTRY, or statement function statement, or whose name 
can be used as an argument keyword in a reference to an intrinsic procedure 
or a procedure in an intrinsic module".  That definition excludes associate 
names by omission.

Back to 8.1.3.2 and 8.1.3.3; 8.1.3.2 says
  "... The other attributes ... are described in 8.1.3.3."
and 8.1.3.3 signally fails to specify that it may have OPTIONAL, INTENT, 
POINTER, etc etc.

Therefore those attributes are never possessed by any associate name.

Cheers,
-- 
........................Malcolm Cohen, Nihon NAG, Tokyo. 




More information about the J3 mailing list