variables

define var   <name_1>  <name_2>  <name_3>

Defining a variable name is a way of telling the XPE parser that the name belongs to a global variable. The vaiable is considered global and can be accessed in any function.

Unlike a 'C' definition of a variable, an XPE definition can occure many times since it is a hint to the XPE parser that the symbol is a variable and not an instruction to allocate space for it.

Variables can be defined as belonging to specific modules by prefixing the variable name with the module name

e.g.

define var    CALC :: acc

see also

modules
local variables
external interface to variables