Raphael Gillett wrote: > The pebble in the Ruby shoe is the counter-intuitive use of indexing of > elements of arrays, strings, etc., from 0 to n-1 instead of the more > natural 1 to n. Like prisoners who have got used to their chains, the > Ruby community seems to have meekly accepted this impediment to clear > thinking. It is particularly puzzling that Ruby should hobble its > users in this way, because it is manifestly unnecessary (e.g., Fortran > and Pascal don't do it). Well, why don't you make a new class that uses a hash as an array and set the range to be from 1..X? A really cool thing about Ruby is that making such things is simple and encouraged. -- Posted via http://www.ruby-forum.com/.