From: seebs@... (Peter Seebach) Date: 2007-05-19T06:30:01+09:00 Subject: Re: multimimensional arrays - i am not getting it.. In message , Sergio Ruiz writes: >>> a = Array.new(3,[]) >=> [[], [], []] >>> a[2] << "check" >=> ["check"] >>> a >=> [["check"], ["check"], ["check"]] > >this is totally not what i am expecting.. I don't see why. You initialized an array with three copies of the SAME empty array. -s