Please enable JavaScript to view this site.

ESL Documentation

You can define a global variable array by beginning the definition with the keyword global. For example:

 

global integer Profits[5]

 

When global arrays are loaded from global space into program space for an ESL program that is executed by a change to program statement, the new number of dimensions is not checked against the number of dimensions defined for the array in the original ESL program. Therefore, if you dimension the array in the new program to be larger than was defined in the original program, then the last elements will contain default values for the constant or variable types. If you dimension the array in the new program to be smaller than was defined in the original program, the last elements will be dropped.