If I have a list of 10 items or so (0,1,2,3,4,5,6,7,8,9) and want to
loop over just the first 3 items (for example), what's the easiest way?
I can't find a List function that selects just the first x items of a
list. I can use ListGetAt to select the 1st one, then the 2nd, then the
3rd, but if I wanted to loop through a large number of items in a long
list, that gets tedious.

I guess there is probably some List function that does this that I have
just overlooked?

Thanks,
Paul
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to