[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] detect / detectIndex



On Mon, 2004-05-03 at 00:39, James Harkins wrote:
> Will there ever be a parallel to detect and detectIndex that will start 
> at a user-supplied index? Any reason the current methods couldn't be 
> modified to do this?
> 
> It's a pain... if I want to start at the beginning of a collection, 
> fine, but otherwise I have to write the while loop myself. Waste of 
> effort.
> hjh

I hope I didn't misunderstand your question ;-)

However, if you want to somehow process an excerpt of a collection (e.g.
all array elements after a user specified index) -- why don't you just
extract the necessary collection subpart and than iterate (or whatever)
over that...

Best,
Torsten

-- 
Torsten Anders
Sonic Arts Research Centre
Queens University Belfast
Tel: +44 28 9097 4761 (office)
     +44 28 9066 7439 (private)
www.torsten-anders.de