Array indexing
Information regarding the upper and lower bounds of each array dimension are defined within the IDF Language extract file.
Array indexes are specified from most-significant to least-significant in a left to right direction. Array elements are mapped within the array in row major order.
If too many array indexes are specified, a warning message is issued and the additional indexes are ignored.
If insufficient array indexes are specified, a warning message is issued and the remaining indexes are set to the low bound of the corresponding array dimension.
- PL/I-like-style, where the index values are enclosed within parentheses
- C-style, where the index values are enclosed within either square brackets ("[" and "]"), or the equivalent trigraphs ("??(" and "??)")
Variables and built-in function results can specify array index specifications.
Array index values must normally be within the bounds defined by the variable declaration. Suppress this check with the CHECK BOUNDS OFF command.