[Newbies] How to empty a collection?

Marcin Tustin mm3 at zepler.net
Mon Feb 18 19:55:30 UTC 2008


Some kind of facade that holds a collection, and replaces it with an empty
one when you call #empty? You could forward all other calls.

On Feb 18, 2008 7:41 PM, itsme213 <itsme213 at hotmail.com> wrote:

> I want to clear its contents (size goes back to zero), and can't seem to
> find something like #clear or #empty. Cannot use a new collection as there
> are shared references to it.
>
> Thanks - Sophie
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080218/ac8e8ab8/attachment.htm


More information about the Beginners mailing list