From: "John R." Date: 2012-06-21T06:27:46+09:00 Subject: Array index confusion I cannot find an answer to this, and perhaps the answer is that "it is what it is..." But perhaps someone can explain this for me. If I have an array, thus: a = [1, 2, 3, 4] there are four elements in the array. The indexes are 0..3. a[4,0] returns [] a[5,0], however, returns nil Both of these are outside the scope of the array, aren't they? I would think they would return the same thing, either nil or the empty array. Any help? Thanks! John -- Posted via http://www.ruby-forum.com/.