Unofficial BlitzBasic Preprocessor Release 5.0
Community Forums/Showcase/Unofficial BlitzBasic Preprocessor Release 5.0
| ||
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: #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. |
| ||
Version 6.0 is coming out very soon, now with #ProfileNoFunctions, #ProfileSection [Section] and #EndProfileSection. I may see fit to put watching on variables. I am also planning to put blocks in for this version. For example; #IfNDef DEBUG #BlockStartsWith DebugLog #EndIf #IfNDef TIMING #BlockContains MilliSecs #EndIf Blocked lines will be thrown out by the preprocessor at preprocess time. |
| ||
#ForceProfile [Function] added |