flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > nested macro problem |
Author |
|
Tomasz Grysztar 04 Jun 2005, 07:57
During macro definition there are no directives interpreted and no macros expanded, so it means it's impossible to expand definition of one macro inside definition of another.
You can just do some passing of parameters from one macro to another to achieve required result: Code: macro A x { if ~x eq dd x end if } macro B { struc C x, y \{ A x \} } |
|||
04 Jun 2005, 07:57 |
|
Ancient One 11 Jun 2005, 07:28
thanks privalov.. thats work.. now i need to review my macros on how to adapt this.
|
|||
11 Jun 2005, 07:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.