mattiav27
mattiav27

Reputation: 685

Dimension of arrays in Fortran 90

In Fortan 77 arrays could be at most 7-dimensional. Is this restriction still there in Fortran 90? I can't find anything on this subject on this tutorial I have found on the internet.

Upvotes: 3

Views: 402

Answers (1)

PVitt
PVitt

Reputation: 11740

Also Fortran 90 is limited to a maximum rank of 7. Fortran 2008 increases this to a maximum rank of 15.

See also The new features of Fortran 2008, page 4:

The maximum rank has been increased to 15. In the case of a coarray, the limit of 15 applies to the sum of the rank and corank.

Upvotes: 3

Related Questions