HLASM Toolkit Feature Interactive Debug Facility User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Array indexing

HLASM Toolkit Feature Interactive Debug Facility User's Guide
GC26-8709-07

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 extra 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.

The indexing expression can be:
  • 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 "??)")
The style used is only significant if a substring specification follows the array index specification.

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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014