(j3.2006) actual arguments of intrinsic functions
Bill Long
longb at cray.com
Sun May 10 21:49:55 EDT 2009
Robert Corbett wrote:
> The standard says that the
> dummy arguments of the intrinsic functions all have INTENT(IN).
> Could that be construed to mean that the corresponding actual
> arguments must be data entites except in the case of the intrinsic
> function ASSOCIATED?
>
>
INTENT(IN) is allowed for a dummy procedure pointer - [97:9] in
09-007r1. You are not allowed to change the association status of such
a pointer. So, certainly a procedure actual argument can correspond to
a dummy with INTENT(IN).
The fact that a procedure actual argument is not allowed for most of the
intrinsics is clear from the description of the Result Value, which
usually depends on the numerical or logical value of the actual argument.
Cheers,
Bill
--
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
More information about the J3
mailing list