Um the beginning is the beginning and the end is the end. It's simple. You don't have to manage it! Sent from my iPhone On 30/01/2009, at 9:16 AM, Dan No <dan.cao.nguyen / gmail.com> wrote: > So painfully basic, but I'm just starting Ruby and am coming to it > from > C/C++/Java, etc. and some of the syntax is unnatural to me, and yes, > I've tried Google. I have an array of things and I want to access the > first 10...how do I do that? > > for thing in things #(how do I set the beginning and end of the loop?) > #do something > end > -- > Posted via http://www.ruby-forum.com/. >