Chapter 11 Writing Macro Control Statements
Local Symbol Declaration (local) 213
11.5 Local Symbol Declaration (local)
Syntax
macro_name macro parameter
local symbol (, symbol)...
symbol .
.
.
endm
NOTE: Up to 30 symbols can be specified.
Functional description
The local directive declares local symbols used in a macro body. When local symbols are expanded,
they will be expanded in the form ??XXXXX, where XXXXX is in the range starting 00001 to 99999.
Coding rules
Symbols specified with the local directive should not be used outside the macro definition.
The local directive can be used only within macro definitions.
Local symbols should be used after they have been declared by the local directive.
If the local symbol ??XXXXX used by the local directive is undefined, an error will occur.