The Unofficial BlitzBasic Preprocessor final version released!

Miscellaneous Forums/Blitz Showcase/The Unofficial BlitzBasic Preprocessor final version released!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Michael, thanks alot. This version is the first one to work for me. It is Very Good! I found a bug in the #PROFILE directive.


"C:\PROGRA~1\BLITZ3D\BITE\.\fpsClass.bb":32:1:32:139:Arithmetic operator cannot be applied to custom type objects




This usually happens to me when I have a Blitz function that returns a custom type and I try to display the custom type object in a DebugLog statement. The custom type must be embedded in the Str() function to output correctly. For example:

Type widget
   Field a, b, c
End Type

Function widgetGet.widget()
  w.widget = New widget

  w\a = 10
  w\b = 20

  ; Notice Str() function here...
  Debuglog "Custom Type Value: "+Str(w)


  Return(w)
End Function


I tried looking through the C# source code, but I do not have C# yet. Anyways, I hope it is an easy fix. :)

Thanks for a great utility.
MK