From: Mason Kelsey Date: 2009-09-07T23:54:03+09:00 Subject: Re: Two Dimensional Arrays in Ruby? --00163649a0af2d94210472fe0532 Content-Type: text/plain; charset=ISO-8859-1 7stud, you need not be jealous of my experience. Yes, I have learned over 100 languages and had a career of 36 years as a programmer. But only a few of the languages I learned are still viable. Computer languages are dime a dozen and knowledge of them has a funny way of becoming irrelevant. And age (I'm 68) does have its own clever ways of leveling the playing field. My eyesight was not good enough to catch such a trivial error. If I am fortunate, then, I have helped you debug the problem you have. I wish you the best and hope you will use your talents wisely. No Sam On Sun, Sep 6, 2009 at 11:24 PM, 7stud -- wrote: > Mason Kelsey wrote: > > > > So what is the secret for working with two dimensional arrays in Ruby? > > And > > is it documented somewhere? > > > > Thanks in advance! > > Maybe you should call on your 20 years of computer programming > experience in 30 different languages to do a little debugging: > > > anarray = [ > [1, 2, 3], > [4, 5, 6], > [7, 8, 9] > ] > puts anarray[1][1] > > --output:-- > 5 > -- > Posted via http://www.ruby-forum.com/. > > --00163649a0af2d94210472fe0532--