| |||
| Home > Directives Reference > Symbol definition directives > LCLA, LCLL, and LCLS | |||
The LCLA directive declares a local arithmetic
variable, and initializes its value to 0.
The LCLL directive declares a local logical variable,
and initializes its value to {FALSE}.
The LCLS directive declares a local string variable,
and initializes its value to a null string, "".
<lclx>variable
where:
<lclx>is one of LCLA, LCLL,
or LCLS.
variableis the name of the variable. must
be unique within the macro that contains it.variable
Using one of these directives for a variable that is already defined re-initializes the variable to the same values given above.
The scope of the variable is limited to a particular instantiation of the macro that contains it (see MACRO and MEND).
Set the value of the variable with a SETA, SETL,
or SETS directive (see SETA, SETL, and SETS).
See GBLA, GBLL, and GBLS for information on declaring global variables.