From: Marcelo Date: 2009-03-20T02:29:34+09:00 Subject: Re: Initializing an NxN array On Thu, Mar 19, 2009 at 10:05, Ruby Student wrote: > For example, to initialize a 3x3 array elements to 0, I am doing what you > see below. But I am not sure how to proceed if, for instance, I want a NxN > array where N > 10 or a huge value? N=3 Array.new(N) { Array.new(N,0) } -m.