| |||
| Home > Assembler > Directives > LCLS directive | |||
The LCLS directive declares and initializes a
local string variable. Local variables can be declared only within
a macro. The initial value of the variable is a null string, "".
The syntax of LCLS is:
LCLSvariable-name
where:
variable-nameis the name of the variable to set. The name mustbe unique within the macro that contains it.
See also MACRO directive. The scope of the variable is limited to a particular instantiation of the macro that contains it.
Using LCLS for a variable that is already defined
re-initializes the variable to a null string.
Set the value of the variable with the SETS directive.
See SETS directive.
See GBLS directive for information on declaring global logical variables.