Hi,
I have just released version 5.0 of The Unofficial BlitzBasic Preprocessor. This is mostly a tidyup release, with one or two bugfixes. The changes are:
/*
* Changes Since 4.0
* #Define can now redefine a definition, giving it a new replace value
* #UnDefine added
* #Define now defines as own name to avoid replacing with blank (eg #Define Yes will define Yes as Yes)
* Option Explicit and code profiling can now coexist
* #CompilerError for a Compile Time error (similar to RuntimeError but not)
*/
Example of the new features:
You can grab it from the Unofficial BlitzBasic Preprocessor site.
I have just released version 5.0 of The Unofficial BlitzBasic Preprocessor. This is mostly a tidyup release, with one or two bugfixes. The changes are:
/*
* Changes Since 4.0
* #Define can now redefine a definition, giving it a new replace value
* #UnDefine added
* #Define now defines as own name to avoid replacing with blank (eg #Define Yes will define Yes as Yes)
* Option Explicit and code profiling can now coexist
* #CompilerError for a Compile Time error (similar to RuntimeError but not)
*/
Example of the new features:
#Define yes no Variable$ = "yes" #Define yes RuntimeError "yes is defined as yes not " + Variable$ + "?" #UnDefine yes #IfDef yes #CompilerError "Your programming is crap, Michael!" #EndIf
You can grab it from the Unofficial BlitzBasic Preprocessor site.