[Newbies] Exchanging Elements in an OrderedCollection

cdrick cdrick65 at gmail.com
Mon Jun 2 12:07:31 UTC 2008

> Hi ---,
> For such problems there is another nice tool called Method Finder. There
> you can insert all your objects, parameters and the result and Smalltalk try
> to find a proper method for your needs.
> I have found the swap method with the following message: #(a b). 1. 2. #(b
> a).
> From my Array (#(a b)) i'm looking for a method with two parameters(index)
> to get the result of #(b a)
> Kind regards,
> Michael

sweet :)
haven't used it that way... nice to know.

Thanks Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080602/ca2f8bd3/attachment.htm

More information about the Beginners mailing list