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.

Im not sure but i think you can do something like
?MacOS
   Print("You are using MacOS!")
?

?Win32
   Print("You are using Win32!")
?

?Linux
   Print("You are using Linux!")
?

If you are using MacOS then it will only compile what is between the ?MacOS and ? and same for win32 and Iinux.