[Newbies] Is there a Squeak idiom for array slices?

Tim Rowe digitig at gmail.com
Fri Dec 18 01:47:59 UTC 2009


If, for example, variable a contains an array with 20 elements, but I
want to inject:into: just elements 3 through 17, is there an easier
way than step-by-step creating a new array, copying the required
elements of a into it, and then doing an inject:into: on that?

TIA,

-- 
Tim Rowe


More information about the Beginners mailing list