Closed machinekoder closed 8 years ago
Is it possible to access the caller scope of macro? I would like to do something like this:
.macro foo (bar) . for field <-- iterates over outgoing.field at first call . foo(name) . endfor .endmacro .for outgoing . foo(name) .endfor
Got it:
.macro foo (scp, bar) . for my.scp.field . foo(field, name) . endfor .endmacro .for outgoing . foo(outgoing, name) .endfor
Is it possible to access the caller scope of macro? I would like to do something like this: