[J3] Polymorphic dummy arrays

Steidel, Jon L jon.l.steidel at intel.com
Mon Jan 7 18:32:20 EST 2019


R822 is for assumed-size arrays, where the last upper bound is an asterisk.  The question here is about assumed-shape arrays, where the bounds are deferred (specified by colons).

-jon
-----Original Message-----
From: J3 [mailto:j3-bounces at mailman.j3-fortran.org] On Behalf Of Vipul Parekh via J3
Sent: Monday, January 7, 2019 6:24 PM
To: General J3 interest list <j3 at mailman.j3-fortran.org>
Cc: Vipul Parekh <parekhvs at gmail.com>
Subject: Re: [J3] Polymorphic dummy arrays

On Mon, Jan 7, 2019 at 6:19 PM Bill Long via J3 <j3 at mailman.j3-fortran.org> wrote:
>
> The original example did not have any assumed-size arrays.  However, in the case of the dummy being explicit-shape  (dimension(1:2))  ..

Bill,

See R822 in 18-007r1:
10 R822 assumed-size-spec is explicit-shape-spec-list, assumed-implied-spec

Does this not mean the explicit-shape specification in the original example is an assumed-size array dummy argument?

Regards,
Vipul


More information about the J3 mailing list