?NotDeBug

BlitzMax Forums/BlitzMax Beginners Area/?NotDeBug

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.

Probably being stupid, I want to define a Const, that can have two different values , depending on if its a debug build or not.
?Debug
Const Cont1:int = DebugValue
?
?Release
Const Cont1:Int = ReleaseValue
?
Now obviously this doesnt Work, and I know I could make it a Global, set it as the release value then change it if its a bedug build. But this is just the example I am using to ask. How do I ?!Debug