If and Const
BlitzMax Forums/BlitzMax Beginners Area/If and Const
| ||
Const Flag:int = False
If Flag
stuff
endifDoes the stuff in the If statment get compiled if Flag is False?Im assuming it does, is so do we have? Const Flag:int = False
? Flag
stuff
? |
| ||
| Right now, there is no ifdef and the like. So you can not do anything unless you modify BMK and add ?ifdef ?ifndef ?else ?endif funnily, the old blitz languages optimize if const and do not compile the unused part into the executable. |