| View previous topic :: View next topic |
| Author |
Message |
Russell
Joined: 20 Aug 2004 Posts: 4
|
Posted: Sun Sep 12, 2004 7:40 pm Post subject: 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. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Sep 13, 2004 12:41 pm Post subject: Part of an Extension, use "-Mstandard" |
|
|
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 |
|
| Back to top |
|
 |
|