How can you identify if the code is compiling on a Mac or PC and include different code for each?
Conditional compilation?
BlitzMax Forums/BlitzMax Programming/Conditional compilation? Or, just
But, it would be nicer if you could do stuff like
<sarcasm>But then I think simple preprocessing like this is so difficult.</sarcasm>
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>
Cheers, fellows.
Some preprocessing stuff would be nice, but I won't hold my breath.
Some preprocessing stuff would be nice, but I won't hold my breath.