Quote:
Originally Posted by roondar
For some reason I thought REPTN couldn't be used as a macro argument
|
It can't. The text given as macro arguments is never interpreted in any way, but just pasted into the macro source text at the positions marked with \1, \2, etc...
So when you call the original macro as
TDMR1COL REPTN
, you will get eight times the same label
.td_mr1_REPTN:
as REPTN is regarded being part of the label name.
Therefore you have to use
\<symbol>
within the macro to make the parser insert the current symbol's value instead. It has nothing to do with any argument given to the macro.
EDIT: Maybe I confused you by designating
\<symbol>
as "special macro argument", like all other codes starting with '\' within a macro. These escape codes always insert some text, but only in some cases this text will be directly taken from an argument given to the macro. Refer to the documentation.