Global TYPEs

Blitz3D Forums/Blitz3D Programming/Global TYPEs

Why is this supposed to be superiror in that case? I mean Object and Handle are useful, but the only thing you changed (compared to the one of cyberseth, which is the one maverick69 should use IMHO) in your version is to test if Ship is Null in MoveShip, and you clearly don't need Object and Handle for that: In Blitz when you delete an instance every reference to that instance becomes instantly Null (it's a so-called "weak reference").
Or am I missing something?
Plus using Object/Handle seems to involve an additional memory hit (probably because Blitz needs to add a node in some internal strucutre to retireve the reference given the handle), so it's better to use it only when you have a real benefit.