Chapter 8. Using Arrays and Tables

Arrays and tables are both collections of data fields (elements) of the same:

Arrays and tables differ in that:

Note:
You can define only run-time arrays in a subprocedure. Tables, prerun-time arrays, and compile-time arrays are not supported. If you want to use a pre-run array or compile-time array in a subprocedure, you must define it in the main source section.

The next section describes how to code an array, how to specify the initial values of the array elements, how to change the values of an array, and the special considerations for using an array. The section after next describes the same information for tables.



[ Top of Page | Previous Page | Next Page | Contents | Index ]