flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Array of String->String: Unsetable |
Author |
|
Tomasz Grysztar 06 Aug 2016, 16:24
Your "if defined type#fun" line becomes "if defined cdecl" (because "equ" defines symbolic variable that is replaced text-for-text by the preprocessor), and "defined" only checks for existence of a label / numeric variable, it does not check for the existence of a macro.
|
|||
06 Aug 2016, 16:24 |
|
l4m2 06 Aug 2016, 16:59
Tomasz Grysztar wrote: Your "if defined type#fun" line becomes "if defined cdecl" (because "equ" defines symbolic variable that is replaced text-for-text by the preprocessor), and "defined" only checks for existence of a label / numeric variable, it does not check for the existence of a macro. Code: match =type#fun, type#fun \\{ r equ 0 \\} if ~defined r |
|||
06 Aug 2016, 16:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.