From: Shuaib Zahda Date: 2007-10-18T11:10:59+09:00 Subject: Re: 2 dimensional array Dear all Thanks for the help, I managed to do it using Mr. Michael Bevilacqua-Linn way. and it works just to share with u the lines of code that make the two - dimensional array. note that the number of columns can be extended. columns = Array.new() columns << Array.new columns[i][0] = col[0] columns[i][1] = col[1] Regarding the multidimensional hash what i meant is hash of hashes. Thanks -- Posted via http://www.ruby-forum.com/.