« Return to Thread: Collection - destroying

Re: Collection - destroying

by Bugzilla from gambas@users.sourceforge.net :: Rate this Message:

Reply to Author | View in Thread

> 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

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

 « Return to Thread: Collection - destroying