ZPL provides a set of constant parallel arrays named Index1, Index2, etc., These are constants that are defined by the compiler and conformable with any region whose rank is no greater than the index number. The value of an element of the i ``Index'' Array is the index of that element in the i dimension.
A := Index1; -- assign row indices to each element of AThere are certain restrictions on the use of these parallel variables.
However, the following is not legal because there is no context to
indicate the rank of Index1:
write(A, Index1);