Noob Object Help Please

BlitzMax Forums/BlitzMax Beginners Area/Noob Object Help Please

That's because :

objA points to a reference of a testobj object
You set objB.obj to point to the same reference as objA.

Nulling objA just has it not pointing to a reference of anything. objB.obj still points to the original reference. Therefore, objA is null, objB.obj is not null.


You will have to change your design in order to work the way you want :-)