Hi,
I'm trying to create include file. I need way to create conditional compile based on whether variable is defined or not in main file.
Something like this:
If variable is all ready defined, it won't compile just show error:Bad defined valueCode:#IFNDEF TmpB TmpB VAR BYTE #ENDIF
If variable isn't defined then I got syntax error.
For this, if variable isn't define, it's ok, but if is defined then I get Bad defined value.Code:#IFDEF Counter2 Counter2=Counter2+1 #ENDIF
Is there way to do that?




Bookmarks