Am 14.09.2008 um 20:15 schrieb Giuseppe Luigi Punzi Ruiz:

Hi,

I need to delete all the instances of a class.

Why?

I would like to know, wich is the best way to do this.

I'm trying this:
IGCompany allInstances do: [ :each | each := nil].

But this, doesn't works.


There is no need to "delete instances". When they are not used anymore, they will be garbage collected automatically.

- Bert -


_______________________________________________
Beginners mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to