News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Macro & If

Started by korte, June 05, 2009, 06:06:28 PM

Previous topic - Next topic

korte


Init macro p1
call %p1%_Init
endm

  Init Mouse    ; call Mouse_Init


work

but:

  .if (Init Mouse)  ; case true or false value



qWord


@Init macro p1
call &p1&_Init
EXITM <eax>
endm


.if @Init(Mouse)
.endif


regards qWord
FPU in a trice: SmplMath
It's that simple!