Please enable JavaScript to view this site.

ESL Documentation

After you define a structure type in your ESL program, you can declare structure variables of that type; for example:

 

structure AddressBook Friends

 

This example declares a variable called Friends, whose structure type is AddressBook. This variable is local to the program in which it is defined. You declare a global structure variable the same way you declare a regular global variable; for example:

 

global structure AddressBook Friends

 

This time the structure variable Friends is defined as global, and can be referenced in any ESL program to which control is transferred via a change to program action statement. The variable must be declared as global in both programs.