From: Bulat Ziganshin Date: 2002-10-14T13:31:06+09:00 Subject: Re: Things That Newcomers to Ruby Should Know Hello Gergely, Friday, October 11, 2002, 8:05:26 PM, you wrote: >>3) 'x+=b', 'x*=b' and other assignment operators is internally translated >>into 'x=x+b' and so on, so these operators assign to x reference to >>newly created object KG> If this is true, a+=1 creates a new object. Can't it be avoided? what you mean? if you want to increment in place, use another operations, like "succ!". btw, integers are saved w/o references, so for Fixnum this question is without sense -- Best regards, Bulat mailto:bulatz@integ.ru