From: Dale Martenson Date: 2006-03-03T04:08:38+09:00 Subject: Re: Write Fortran in Ruby I guess using a range is slightly better. I know, enough already. I just wanted it to match the same number of lines (8) and look as close as I could. :program; i = 0 Integer i (0..10).each do |i| print i,$/ if (i > 5) : break end end print i*i,$/ exit