Hi.
 
I have a question about macro IF.
My code is something like this:
 
int    i;
 #LOCALMACRO.doInfo
    #DEFINE.ARG(1)
    #IF.ARG(%1)
         print("Reached here");
    #ENDIF
 #ENDMACRO
 
or
 
 #LOCALMACRO.doInfo
    #DEFINE.ARG(%1)
    #IF.ARG(1)
         print("Reached here");
    #ENDIF
 #ENDMACRO
 
i = 1;
#doInfo(1)  -- this works (prints)
#doInfo(i) -- this does not work (no print)
 
Why the second #doInfo(i) don't work? 
How is it possible to compare some variable inside macro?
 
Thank You.


[Non-text portions of this message have been removed]

Reply via email to