Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using Compound Variables and Stems z/OS TSO/E REXX User's Guide SA32-0982-00 |
|
Sometimes it is useful to store groups of related data in such
a way that the data can be easily retrieved. For example, a list
of employee names can be stored in an array and retrieved by number.
An array is an arrangement of elements in one or more dimensions,
identified by a single name. You could have an array called employee that
contains names as follows:
In some computer languages, you access an element in the array by the number of the element, such as, employee(1), which retrieves Adams, Joe. In REXX, you use compound variables. |
Copyright IBM Corporation 1990, 2014
|