Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Local Variables in Macros
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   LOCAL localname [,localname]...
 
  See also: LOCAL in Procedures, MACRO, REPEAT, FOR, FORC, WHILE,
 
  Description:
 
     Declares a label or symbol for local use within a macro or
     iterative block. The assembler generates a different internal name
     for the symbol each time it expands the macro. The LOCAL directive
     allows you to call a macro that contains local jump statements and
     variable definitions without generating the same label each time
     the macro is expanded.
 
     The <localname> parameter is the name of a label or symbol inside
     the macro. Inside the macro expansion, <localname> takes precedence
     over a global label or symbol with the same name.
                                    -♦-