logo       

Re: How to empty a collection?: msg#00129

lang.smalltalk.squeak.beginners

Subject: Re: How to empty a collection?

Bert Freudenberg wrote:
Well, of course you're not *supposed* to be doing this. But you could, and it would only be half-evil ;)
It wouldn't be evil at all. This is Smalltalk, not Ada!!

But seriously, it seems a major oversight that such a basic task isn't in the standard protocol. The language has been around a while, someone else must have wanted to empty a collection.

--
Jeffrey Straszheim
http://straszheim.50megs.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise