[Gambas-user] Returning locally instantiated Classes & Collections from Functions.

Benoit Minisini gambas at ...1...
Fri Aug 18 21:34:46 CEST 2006


On Friday 18 August 2006 22:26, sbungay wrote:
>    OK. The local reference to the global instance gets destroyed 

Not destroyed, just made NULL.

>    but 
> because we were assigning another reference to the object, the object
> itself continues to live. Garbage collection occurs when all references
> to an object are destroyed?

Yes.

>    Sorry if I'm parroting things back... I just want to understand whats
> happening.
>
> Steve.
>

"parroting"? What does it mean?

-- 
Benoit Minisini





More information about the User mailing list