[squeak-dev] Noob question: array slice?

Casey Ransberger casey.obrien.r at gmail.com
Fri Aug 6 06:03:30 UTC 2010


Given that I have a collection like #(foo bar baz 1 2 3), and I want to get
elements 2...4, what selector do I use? I'm confused. Argh. Seems like I
should be able to figure this out by now without what I think of being a
pain. I guess I can just test the bounds, but yuck.

Halp! Invizibal #slice!
-- 
Casey Ransberger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100805/84f1c374/attachment.htm


More information about the Squeak-dev mailing list