From: matt@... (matt neuburg) Date: 2009-03-20T01:52:20+09:00 Subject: Re: Initializing an NxN array Ruby Student wrote: > ary = Array.new(9,[0,0,0]) Tread carefully, Grasshopper: ary = Array.new(9,[0,0,0]) ary[0][0] = "surprise!" p ary :) m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com