Conditional compilation?

BlitzMax Forums/BlitzMax Programming/Conditional compilation?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Or, just
Print "On platform.. "

?MacOS
Print "Mac"
' You don't need to add a blank ? per item
?Win32
Print "Win32"
?Linux
Print "Linux"
?

Print "OMGSUCCESS"


But, it would be nicer if you could do stuff like
?Define PREPROCDEF

?PREPROCDEF
?


<sarcasm>But then I think simple preprocessing like this is so difficult.</sarcasm>