No pointers to objects!?

BlitzMax Forums/BlitzMax Beginners Area/No pointers to objects!?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

...and was shocked to find that Bmax uses no pointers for objects.
I'd be shocked if anyone actually bothered to read the docs. The second and third lines of 'Language>Objects' reads...
Objects are handled by reference. This means that the actual memory used by an object to store its data is shared between all the variables that refer to that object.

This makes objects very efficient to deal with, as assigning an object to a variable simply involves assigning a reference to the object - not an entire object. Passing objects to functions and returning objects from functions is also very efficient as again only references need to be copied.