Print

Print


> On Aug 22, 2017, at 11:29 AM, Anton Shterenlikht <[log in to unmask]> wrote:
> 
> 
> Also, the following clause,
> 15.8.3 Elemental subroutine actual arguments
> has a very similar sentence but adds intent.
> 
> Why the dummy argument intent matters for
> elemental subroutines but not for elemental
> functions?

This constraint in 15.8.1

The specification-part of an elemental subprogram shall specify the intents of all of its dummy arguments that do not have the VALUE attribute.

covers both subroutines and functions. 

Cheers,
Bill


Bill Long                                                                       [log in to unmask]
Principal Engineer, Fortran Technical Support &   voice:  651-605-9024
Bioinformatics Software Development                      fax:  651-605-9143
Cray Inc./ 2131 Lindau Lane/  Suite 1000/  Bloomington, MN  55425