- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A pointer targeted to an entire array picks up the lower and upper bounds of the target array, but a pointer targeted to a piece of an array always has a lower bound of 1. Any one have trick or work around?
My target array is dimensioned as: A(0:360, -360:360, 20). That is, I have20 pages of (0:360,-360:360). I would like to point toan individualpage and still use subscripts in the range (0:360,-360:360) and not (1:361, 1:721).
David
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was discussed recently here, as well as in comp.lang.fortran. On the latter page, you will also find a cludge trick how to do it in F95 (see post #8 by Kurt).

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