From: Hasmukh Patel Date: 2012-02-07T04:39:28+09:00 Subject: Re: formal argument cannot be a constant Randy Coulman wrote in post #1044376: > In Ruby, variable names start with lower-case letters and constants > (including class names) start with upper-case letters. You are using an > upper-case I for your loop variable, which doesn't follow these rules. > > Randy Thanks Randy. It works -- Posted via http://www.ruby-forum.com/.