Subject: Re: firtst and only element of array (noob level)
	Date: lun 11 feb 13 10:43:27 +0900

Quoting Ronnie Aa (lists / ruby-forum.com):

> Yes but when the array contains only ONE element
> there's no real need to indicate the position of that element.
> So i want to use arr as if it was arr[0]. But that's no possible..

You have to think of the array as the chest of apples. When you have
only one apple left, the chest does not disappear. If it did, the
fact would generate a lot of confusion...

Carlo

-- 
  *         Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido / fluido.as             che bisogno ci sarebbe
  *               di parlare tanto di amore e di rettitudine? (Chuang-Tzu)