- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I dimension an array with a star descriptor, e.g.
double precision:: Value(*)
is there any way of the compiler detecting if I am out of bounds, by tracking the bound as declared way back up the calling tree?
double precision:: Value(*)
is there any way of the compiler detecting if I am out of bounds, by tracking the bound as declared way back up the calling tree?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No. Additional information would need to be passed to catch such a thing. If you use assumed-shape or adjustable arrays, where the bound information is available, then you can detect these errors.

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