On Thu, March 3, 2005 6:14 am, Sebesty Gor 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,
>
> Gor

E