checking debug mode

BlitzMax Forums/BlitzMax Programming/checking debug mode

Is there any variable that will be set if a prog is running in debug mode? A variable that is set to true when in debug mode and false when normal.

use the [a http://www.blitzwiki.org/index.php/Category:Compiler_Directives]compiler directive[/a] ?Debug

Thanks! By the way, it would be really nice if Blitz had some more comp directives such as C-like macros and conditional include and stuff. Wouldn't have to waste memory on all those constants.

suggestions to this effect have been made in the past. I doubt they're high on the list of priorities at the moment.

Those few constants are harldy going to effect anything. You will not even see a 'memory usage' difference in taskmanager, process explorer, etc if you enable or disable them.

Cheers,

Stu