From: Steve Klabnik Date: 2011-03-24T05:31:58+09:00 Subject: Re: Converting PHP to Ruby --0023545bdbc0762527049f2c4019 Content-Type: text/plain; charset=ISO-8859-1 > Oh, and I am programming in 1.8? Is 1.9 a big release compared to 1.8? > Yes. 1.9 was originally going to be Ruby 2.0, but... now it's not. It's a long story. There are some fairly significant differences, though. > I don't think my s[i,k] is working properly. > I'm not sure either, one letter variable names are confusing. I see the name of your method, but I'm not 100% sure what you're trying to do. > Does "i" get added +1 for every loop when doing like this? > It should just iterate through the loop. ruby-1.9.2-p180 :001 > for i in (1..3) do ruby-1.9.2-p180 :002 > puts i ruby-1.9.2-p180 :003?> end 1 2 3 => 1..3 --0023545bdbc0762527049f2c4019--