- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We get an array subscript error when executing lines like:
ELSEIF(I.GT.1.AND.T(I).LE.T(I-1))THENWhen I = 0. Obviously the second half of the IF test does not need to be executed if I=0, due to the failure of the first test. However it is for some reason.
Is there a switch I can set somewhere to get this executed properly?
Adrian
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, there isn't. You have a bug in your code. Please see this comp.lang.fortran discussion for a lot more information.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page