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/.