From: ES Date: 2005-03-03T15:22:26+09:00 Subject: Re: post inc problem On Thu, March 3, 2005 6:14 am, Sebesty�n G�bor said: > Hi, > > A quick and dumb question: does Ruby (1.6) support postincrementation > like C++? I mean: " x++ " expression where x is a numeric variable. Nope; all number variables reference number objects and you can't change those. You can use: x += 1 x = x + 1 x = x.succ x = x.next > Thanks, > > G�bor E