From: Mark Mr Date: 2008-01-30T07:11:45+09:00 Subject: For Loop question ok basically i cant quite figure out how to do a for loop i want in ruby. Here's what i want to do in C++, with some ruby mixed in for (i = 0; @question_array[i].nil?; i++) { code here.... } it's supposed to run until it finds an element of the array that isnt blank and then stop. anyone know how to make a loop like this in ruby? thanks :) -- Posted via http://www.ruby-forum.com/.