Tim Pease wrote:
> Actually, if Ruby had been implemented in Fortran or Pascal, then most
> certainly arrays would have begun indexing with 1 instead of 0.

Ok, I know that this is not a Ruby point, but I feel compelled to 
respond.  The basic array in Pascal is zero based.

var
  ar: array of integer;  // dynamic array
begin
  SetLength(ar, 10);  // makes a 0 - 9 array
end;

var
  ar: array[1..10] of integer;   // makes a 1 - 10 array

The default is pretty much zero based, even in Pascal.

-- 
Posted via http://www.ruby-forum.com/.