From: Todd Benson Date: 2007-07-12T07:11:14+09:00 Subject: Re: Accessing a specific index in a nested array On 7/11/07, Todd Benson wrote: > On 7/11/07, Todd Benson wrote: > > > size = 5 > > test.coords = [] > > size.times { test.coords << Array.new size } > > Oh, for cripe's sake. That last line should be: > > size.times { test.coords << Arra.new(size) } I give up. One more time all over again test.coords is arr below: size = 5 arr = [] size.times { arr << Array.new(size) } tested sorry, Todd