Contents Up << >>

Indexed names

An indexed name denotes an element of an array as follows: The prefix must denote an array object. There also should be one expression for each dimension of the array object. The indexed name denotes the object in the array object, denoted by the prefix, at the position indicated by the list of expressions. For example, if x is an array of a record type with the field y then x(3).y denotes the y field of element 3 in x.