[J3] Default values for optional arguments

Vipul Parekh parekhvs at gmail.com
Thu Jan 21 03:25:12 UTC 2021


On Wed, Jan 20, 2021 at 9:51 PM William Clodius via J3 <
j3 at mailman.j3-fortran.org> wrote:

> .. INTENT(IN) arguments cannot have the ALLOCATABLE attribute  ..
>

What does it mean by "INTENT(IN) arguments cannot have the ALLOCATABLE
attribute"?  Current standard has no such restriction.  On the contrary,
there are some codes that explicitly use INTENT(IN) with the ALLOCATABLE
attribute with array arguments because the bounds are preserved, if
allocated.

Vipul Parekh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20210120/8ebaafe5/attachment.htm>


More information about the J3 mailing list