flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > macro argument angle brackets - bug? |
Author |
|
Tomasz Grysztar 27 Sep 2017, 19:04
This works with no problem for me:
Code: macro some_macro arg display `arg end macro some_macro <1,<2,3>> Code: flat assembler version g.hxhsr 1,<2,3> 1 pass, 0 bytes. The nesting is only needed when there is another, deeper layer of macros that need inner enclosing. This is how it works: Code: macro some_macro arg outer_list_macro arg end macro macro outer_list_macro args& iterate arg, args inner_list_macro arg end iterate end macro macro inner_list_macro args& display 'inner list: ',`args,13,10 iterate arg, args db arg end iterate end macro some_macro <1,<2,3>> |
|||
27 Sep 2017, 19:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.