From: Daniel Johnson Date: 2011-04-17T03:27:51+09:00 Subject: For loops trouble 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/.