LCLA, LCLL, and LCLS
LCLS directives declare and initialize local variables.
is one of
is the name of the variable.
variablemust be unique within the macro that contains it.
LCLA directive declares a local
arithmetic variable, and initializes its value to 0.
LCLL directive declares a local
logical variable, and initializes its value to
LCLS directive declares a local string
variable, and initializes its value to a null string,
Using one of these directives for a variable that is already defined re-initializes the variable.
The scope of the variable is limited to a particular instantiation of the macro that contains it.
Set the value of the variable with a
MACRO ; Declare a macro $label message $a ; Macro prototype line LCLS err ; Declare local string ; variable err. err SETS "error no: " ; Set value of err $label ; code INFO 0, "err":CC::STR:$a ; Use string MEND