From: Martin DeMello Date: 2005-04-11T16:39:43+09:00 Subject: Re: Array#last_index Robert Klemme wrote: > > "Trans" schrieb im Newsbeitrag > news:1113074095.070106.22910@l41g2000cwc.googlegroups.com... > > > Can you not just use -1 as the index? > > > > No. Because, it is not always simply a matter of getting to the last > > element. If it were then #last itself would suffice. The use case here > > is when the last index is needed. > > Care to unveil the use case? I never neede that myself - just > wondering... I've written C code that started with a pointer at either end of an array and walked them towards each other. martin