There are lots of 'goodies' in BMax. Some things which tickle my fancy ...
* Shorthand coding. Example:
* Small exe files. With the FrameWork command you can import only the mods required.
* Strict - option explicit
* Error handling- Throw/Try/Catch/Assert
Example of 'Assert'
Capture errors whilst debugging (ignored in the release version):
* Array handling and slices:
* Include your media with IncBin
* OOP crazyness
* Pointers
* Lots of variable types (Byte/Int/Short/Float/Double etc..)
* Shorthand coding. Example:
From BlueAlien.Xpos = BlueAlien.Xpos + OrangeAlien.Xpos To BlueAlien.Xpos :+ OrangeAlien.Xpos
* Small exe files. With the FrameWork command you can import only the mods required.
* Strict - option explicit
* Error handling- Throw/Try/Catch/Assert
Example of 'Assert'
Capture errors whilst debugging (ignored in the release version):
i=LoadImage("blah.bmp") Assert i Else RuntimeError "No image loaded!"
* Array handling and slices:
a$[]=["orange","yellow","blue"] Print a$[1] ' "yellow" b$="Slice me up" c$=b$[7..8] ' "me"
* Include your media with IncBin
* OOP crazyness
* Pointers
* Lots of variable types (Byte/Int/Short/Float/Double etc..)