>
> It is not setting a different object reference to the same variable, it is
> removing the object reference from the variable.
>
> "a" is a pointer to an instance of a newly instantiated Class1 object.
> Setting "a" to null is perfectly valid. "a" then no longer points to an
> instance.  Therefore the object reference count is decremented (in this
> case to 0, so the object memory can be freed).
>

I'm OK with this, it just created confusion as it was not allowed earlier.



> It's all there in the help under the Gambas Object Management topic.
>

I cannot find any mentioning about it with those words, can you give me
link?


Jussi
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to