> Thanks for that, but I was looking for a way of passing by address.  In 
> fact I thought that, because everything was an object in Ruby everything 
> was always passed by address.  I would like to understand when it is not 
> the case.

Then you need to use instance variables such as '@i', or class variables 
such as '@@i'.  Ruby doesn't support the use of pointers (as far as I 
know at least).

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