[Newbies] [Q] Best way of doing ...

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Tue May 5 13:29:30 UTC 2009


People:
I need a way for two collections of different size could be tested for all
elements in both.

Example:

A  := #(a1 a2 a3).
B := #(b1 b2 b3 b4 b5).

Some similar to 

with: otherCollection do: twoArgBlock
    "Evaluate twoArgBlock with corresponding elements from this collection
    and otherCollection."
    otherCollection size = self size

But for different size

Very thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20090505/69a9db1b/attachment.htm


More information about the Beginners mailing list