From: Mark Mr Date: 2008-01-31T04:37:19+09:00 Subject: Re: For Loop question thanks to everyone who posted. This one worked for what i was doing i = 0 while @question_array[i].nil? do code here.... i += 1 end although i was hoping i wouldn't have to declare the i=0 beforehand just from a style standpoint but it works fine so i guess that's all that matters. Thanks again :) -- Posted via http://www.ruby-forum.com/.