Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
The "inc" action takes either an integer value or a register reference off the stack. If it was an integer value, then "inc" adds one to it and pushes back the result. If it was a register reference, then ROPE adds one to the value held in the register (which must be an integer value).
So...
$n inc
Adds one to the value stored in $n and puts it back in $n - so the value held in $n is changed.
Where as...
$n get inc
Takes the value held in $n adds one to it and pushes the result onto the stack. The value held in $n is not changed in this case.
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]