The Unofficial BlitzBasic Preprocessor Release 6.0

Miscellaneous Forums/Blitz Showcase/The Unofficial BlitzBasic Preprocessor Release 6.0

I have just uploaded Release 6.0, and it features:


/* Changes Since 5.0
* Fixed a #Define bug
* Added Enum
* Fixed a bug where double spaces between Function and the Function Name will interfere with profiling
* #ProfileNoFunctions
* #ProfileSection [Section]
* #EndProfileSection
*
* ProfileSections don't do any funky stack based things and so they have to be placed without overlap in terms of source position
*/



Download it from http://huntersd.mking.com or if you already have a very download it here.

Config dir was missing, redownload if you have downloaded 6.0...

I think I'll download this just for the Option Explicit! That in itself could be a life-saver.

That's what most people download it for :P

Michael,
Would it be possible to implement a USE directive in your preprocessor?

USE comes from The Amiga Blitz Basic II version and saves on lots of typing where types are concerned.
Example:

Normal Blitz Types
spaceship\velocity = spaceship\velocity * spaceship\inertia

With the USE directive:
#USE spaceship
\velocity = \velocity * \inertia

What USE does is insert 'spaceship' just before the '\'

Is this feasible?

No.

Why not?

I think it makes code look messy.

it also might produce unwanted effects, due to people doing silly things.

I think USE# would be a great addition. You should put it in 8)


What do you mean by "silly things" drago?

I think USE# would be a great addition. You should put it in 8)


I won't put it in. If somebody else does, I will merge it into the current version (provided it is elegantly done of course).