[J3] RANK clause
John Reid
john.reid9 at talktalk.net
Sun Jun 15 14:20:42 UTC 2025
Dear all,
For a type declaration statement (R801) we have this constraint
C801 (R801) The same attr-spec shall not appear more than once in a
given type-declaration-stmt.
However we have added the rank-clause, which specifies the DIMENSION
attribute.(8.1.17). Does this not mean that we need a constraint such as
C8xx A rank-clause shall not appear in a type-declaration-stmt that has
a DIMENSION clause.
Or have I missed something?
Here is an example that should be noticed as an error at compile time, IMHO
real, rank(3), dimension(10) :: a
Cheers,
John.
More information about the J3
mailing list