The Unofficial BlitzBasic Preprocessor Release 6.0

Community Forums/Showcase/The Unofficial BlitzBasic Preprocessor Release 6.0

Michael Reitzenstein(Posted 2003) [#1]
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.


Michael Reitzenstein(Posted 2003) [#2]
Config dir was missing, redownload if you have downloaded 6.0...


Dynamo(Posted 2003) [#3]
I think I'll download this just for the Option Explicit! That in itself could be a life-saver.


Michael Reitzenstein(Posted 2003) [#4]
That's what most people download it for :P


EOF(Posted 2003) [#5]
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?


Michael Reitzenstein(Posted 2003) [#6]
No.


Warren(Posted 2003) [#7]
Why not?


Michael Reitzenstein(Posted 2003) [#8]
I think it makes code look messy.


Drago(Posted 2003) [#9]
it also might produce unwanted effects, due to people doing silly things.


Orca(Posted 2003) [#10]
I think USE# would be a great addition. You should put it in 8)


What do you mean by "silly things" drago?


Michael Reitzenstein(Posted 2003) [#11]
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).