- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The code that you show is only a fragment. Within that fragment there doesn't appear to be a reason for the compiler to complain, but as we do not see any of the declarations and the like, it is difficult to pinpoint the error. Please post a more complete, compilable fragment that allows us to reproduce the problem. Also, the compiler's error message should come with the line number of the offending line of code. This is missing from your post, so we are left to guess at it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The small code fragment contains only INTERVAL as a possible DO index variable. Check if there was a DO INTERVAL = ... statement earlier in the program source. If so, and the corresponding END DO statement (or labeled terminal statement of the loop) was left out, that loop would still be active and trigger the error message that you showed.
As Arjen said, we need to see more details.

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