(j3.2006) LEN type parameter
Malcolm Cohen
malcolm
Mon Dec 18 20:00:01 EST 2017
>Is the assignment to the length parameter a%lb1 valid? If one looks at
>the definition of assignment, one follows the chain of the LHS from
>"variable" to "designator" to "structure component" to "data-ref".
>data-ref is a syntax term for which a%lb1 qualifies.
Nope. It fails constraint C910
?C910 (R911) Each part-name except the leftmost shall be the name of a component of the declared type of the preceding part-name.?
So it is not valid syntax.
Cheers,
--
..............Malcolm Cohen, NAG Oxford/Tokyo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.j3-fortran.org/pipermail/j3/attachments/20171219/319c62dc/attachment.html>
More information about the J3
mailing list