Referencing Elements of Arrays

Elements of arrays are referenced using the constructs of the source language. CodeWatch allows access to array slices in programs written in Open PL/I.

For example, to evaluate the 15th array element in the example below in CodeWatch:

 DCL A(23) FIXED BIN(31);

enter:

ev A(15)