chen li wrote: > original 1D array / ... snip result listing > Li It would be very helpful is you were to post the code you used to get this result. Again, I am just guessing about what you want, but try this: -------------------------------------- #!/usr/bin/ruby -w array = [] 1.upto(96) { array << rand(2000) } rows = 8 columns = 12 slices = [] 0.upto(rows-1) do |i| slices << array[i * columns,columns] end p slices -------------------------------------- -- Paul Lutus http://www.arachnoid.com