On 04/06/2011 02:04 PM, Gwenael Casaccio wrote:


Collection>>size [

     | count |
     count := 0.
     self do: [:element | count := count + 1].
     ^count
]

I'll just add "size [ ^0 ]".

Thanks for the report.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to