flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > BUG: Macro Processing Error? |
Author |
|
vid 11 Oct 2005, 17:14
"if" is not a preprocessor directive, read FAQ
|
|||
11 Oct 2005, 17:14 |
|
kidscracker 11 Oct 2005, 17:26
So a possible solution wil be...??? may be there's one no ?
|
|||
11 Oct 2005, 17:26 |
|
decard 11 Oct 2005, 17:41
read about match directive in the manual.
|
|||
11 Oct 2005, 17:41 |
|
Tomasz Grysztar 11 Oct 2005, 22:36
Use "UNICODE = TRUE" instead of "UNICODE EQU TRUE" and then:
Code: IF ~defined UNICODE | defined @f display "UNICODE not defined,defining as FALSE",0Dh,0Ah @@: UNICODE = FALSE END IF WM_MESSAGEA = 100 WM_MESSAGEW = 200 IF UNICODE WM_MESSAGE = WM_MESSAGEW ELSE WM_MESSAGE = WM_MESSAGEA END IF I suggest reading the sections 2.2 and 2.3 of manual carefully. And remember that preprocessor (described in 2.3) does its all job before the multi-pass assembler and its control directives (described in 2.2) come in. I have extended section 2.3.7 to cover this. |
|||
11 Oct 2005, 22:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.