[Gambas-user] Collection - destroying

Benoît Minisini gambas at ...1...
Fri Jul 3 14:37:14 CEST 2009


> Is it possible to 'destroy' a collection, I don't mean just remove its
> members.
>
> What I mean is one does this to create one:
>
> mycollection = new collection.
>
> One may do something with it, but then want it to be 'gone' and
> non-existant.
>
> Any advice appreciated.
>
> Richard
>

This is done automatically by the interpreter as soon nothing has a reference 
on the collection. As all other objects.

Regards,

-- 
Benoît




More information about the User mailing list