From: sto.mar@... Date: 2012-06-21T06:35:53+09:00 Subject: Re: Array index confusion Am 20.06.2012 23:27, schrieb John R.: > 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. Maybe this helps: Regards, Marcus --