(j3.2006) C713 question
Bill Long
longb at cray.com
Tue Mar 31 17:21:15 EDT 2009
Van Snyder wrote:
> C713 at [09-007r2:155:4 7.2.1.1] says that the <variable> in an
> <assignment-stmt> cannot be a whole assumed-size array.
>
> It would seem to be OK in the case of defined assignment.
>
Not of the defined assignment subroutine is elemental. You still have
the problem of not knowing the actual size of the array.
> Did we intend this?
>
I assume so. Even if the defined assignment subroutine has array
arguments, how do you declare the argument in the subroutine - as
assumed-size again? Just transferred the problem to a new place.
Otherwise, I don't know how you would decide on the size of the array.
Cheers,
Bill
> Does this need to be decided by an interp, or would applying it only for
> intrinsic assignment be a simple new feature?
>
> Van Snyder
>
>
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
>
--
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