Porting old programmes to BM

BlitzMax Forums/BlitzMax Beginners Area/Porting old programmes to BM

explosive(Posted 2008) [#1]
Hello everyone,

I just started using BMax and try to compile the old codes (from Win to MacOS). Unfortunately I get a huge amount of errors even though I used the function "Import BB Project".

Now what's the best way to start rewriting the codes (my one is approx. 350pages long). Most errors occur with old types.

Any experience so far? Any tool that does the "dirty" work for me? Any shortcuts?

Many thanks and regards
Simon


Dreamora(Posted 2008) [#2]
There are no shortcuts.
You could use the import bb feature within MaxIDE but a lot of hard work will be needed in any case. BM with Strict/SuperStrict is typed, you can not use integer handles to objects and the like.

At best you completely rewrite it to use BM, this gives you 20-200 times the performance and with Types with embedded methods and functions you get much cleaner code, the same goes for the inheritance feature which most likely will allow you to do a lot of things far simpler and faster and especially cleaner