From: Mohammad Khan Date: 2005-01-20T03:47:38+09:00 Subject: Re: value by reference On Wed, 2005-01-19 at 13:41, Florian Gross wrote: > Mohammad Khan wrote: > > > It would be great if we can do > > a = Integer.new(1) > > b = Integer.new(2) > > c = Integer.new(3) > > Which would be Objects whose values can be changed? > > I don't know, I think I would find it confusing if I'd do five = > Integer.new(5); some_method(five) and if after that five * five would > not be 25. In this instance it would be confusing. But using this concept... I would be able to do what I wanted to do (please see my original posting) Thanks, Mohammad