I am trying to translate a program I have in Java into ruby and having
trouble translating this for loop
   for(int i = 0; a[i] < x;i++)
I tried this
   for i in a[i]...x
but it produce some errors. Any help will be appreciated. Thank you.

-- 
Posted via http://www.ruby-forum.com/.