| |
xlar54 Account closed
Registered: Dec 2018 Posts: 9 |
64TASS conditional include
Anyone know how to do this? Ive tried:
myvar :?= 0
.if myvar = 0
myvar := 1
...
.endif
but I get "general syntax" error on the first line
trying to conditionally include as one would with C .h files. |
|
| |
Flavioweb
Registered: Nov 2011 Posts: 463 |
MVAR .VAR $00
.IFEQ MVAR
MVAR := $01
.FI
|
| |
soci
Registered: Sep 2003 Posts: 480 |
I think you try to do an include guard.
The syntax is correct but you need at least 1.54.1864 for the conditional assign to be recognized. Or better take 1.54.1900 where I corrected a few things. |
| |
xlar54 Account closed
Registered: Dec 2018 Posts: 9 |
Thanks. I will get the latest (I assume from here, or is there a github repo?) |
| |
xlar54 Account closed
Registered: Dec 2018 Posts: 9 |
Ok I found it, and it did fix that issue. Thank you! |
| |
oziphantom
Registered: Oct 2014 Posts: 490 |
From SourceForge |