Conditional compiling?
BlitzMax Forums/BlitzMax Programming/Conditional compiling?
| ||
Is there any way to set your own conditions in addition to the built in ones? I know I can use IF\THEN with a constant but that's not quite the same functionality. |
| ||
Not currently, no. |
| ||
The other problem with using a constant with If/Then is that the code between still gets compiled into the final executable. I tested this with some text between and it still appeared in the final file. However, this was with a much older version of BlitzMax, so it may have changed since. Blitz3D did not do this and omitted anything that would never get executed. |
| ||
Really? I was under the impression that the code didn't get compiled. |