The only thing we need is a method on BBObject class which returns the type it is as BM internally knows its type (otherwise you couldn't cast).
There is already a function which does that but as it missuses Byte Ptr hacks to get it, I wouldn't use them if you plan to stay up to date, so I agree with this request at least partially.
It would be great to have a method that returns us the class of a given type instance.
There is already a function which does that but as it missuses Byte Ptr hacks to get it, I wouldn't use them if you plan to stay up to date, so I agree with this request at least partially.
It would be great to have a method that returns us the class of a given type instance.