From: Peter Bailey Date: 2009-06-25T02:58:41+09:00 Subject: Re: How do I get an integer from an array? Roger Pack wrote: >> 1.upto(pages.length) do |n| >> puts n >> end > > ? Yes, I want to count up to the value of pages and do fancy image stuff with the PDF pages in that sequence. That's all. -- Posted via http://www.ruby-forum.com/.