Official BlitzMax Q&A Thread

Blitz3D Forums/Blitz3D Programming/Official BlitzMax Q&A Thread

Blitzers might find this handy:
                       Blitz3D/Plus   BlitzMax
comments                   ;            '
labels                     .            #
statement separators       :            ;
decarations                .            :
accessing type fields      \            .

Example

**** Blitz3D/Plus ****


; test
Print "boo" : x=x+1
a.Alien = New Alien
a\x = a\x + 5
a\alienframe=a\alienframe+56
Goto myLabel

.myLabel
End

**** BlitzMax ****

' test
Print "boo" ; x=x+1
a:Alien = New Alien
a.alienframe:+56     ' shorthand coding!
a.x = a.x + 5
Goto myLabel

#myLabel
End


po,
Goto is in but Gosub has been removed.

Q: Max is the fastest version of Blitz.
Mark once posted a benchmark showing Max to be around 4 times faster than Blitz Plus.
Is this still the case?