On Thu, 21 Dec 2006, chen li wrote: > Hi all, > > I want to create an array as following: > a4=['name 1','name 2'...'name 20']. a4 = Array.new(20){|i| "name #{ i + 1 }"} -a -- if you find yourself slandering anybody, first imagine that your mouth is filled with excrement. it will break you of the habit quickly enough. - the dalai lama