Array references with wrong number of indices?

I have had several problems with F90 programs where I refer to an array
using the wrong number of indices. For example, a(1,2) instead of
a(1,2,3). Is the compiler supposed to catch this not not?

Thanks.

This is an extension which will implicitly use the first element of the missing index. This will error if you use the “-Mstandard” flag.

  • Mat