Declaring Global and Universal Variables

Global Statement

Use a global statement to declare global variables, which can be accessed from any script within a document. Global variables must be declared within each handler where they are used. See Containers for more information on global and universal variables.

Syntax:

global {variable {, variable...} }

To see simple examples of two different ways of using global variables, see Global Variables in the Examples section.

Universal Statement

Use a universal statement to declare universal variables, which can be accessed from any script during the current run of the host program. Universal variables must be declared within each handler where they are used. See Containers for more information on global and universal variables.

Syntax:

universal {variable {, variable...} }

 

This topic was last updated on August 24, 2020, at 03:16:43 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant