BlitzScript3D

Blitz3D Forums/Blitz3D Programming/BlitzScript3D

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.

I manage to hunt down and kill the If-Then-Else Bug that was infesting BlitzScript3D. The problem was between both the compiler and VM in the assignment of the instruction loading.

Now that its resolved I can really see how limited my current implementation of 'bscvmLabels' really is. You cannot do anyting fancy. In fact, your limited to evaluating a single expression at a time which makes for pain in the arse scripting.
Example:
If n=1 Then dostuff()
If n=2 Then dostuff()
If n=3 Then dostuff()
;you get the point
This has taken priority over implementing functions because without Labels working properly you cannot jump back and forth between instruction offsets. Jumping is needed for Unconditional Loops, Conditional Loops, Nested Conditions and Functions. I'm to work on expanding this functionality asap. When complete you should be able to support Nested If..Then...Else...EndIf and 'Label & Goto' Keywords.

In the meantime, I've added 'BlitzScript...EndBlitzScript' Keywords. These keywords allow you to put several individual scipts in a single file verses being forced to have a individual file for each script. This can substitute for Functions for now.

The bscvmCommandInstaller completey and totally out performs its predecessor ACTIONBuilder. This utility will automate adding functions and macros the scriptengine and its huge work saver.

Expect an update within the week.