Difference between revisions of "Valinc"

From WikiManual
Jump to: navigation, search
m (Reverted edit of Wz5T3f, changed back to last version by Ollj)
m
Line 3: Line 3:
 
{{Bitwise Command}}
 
{{Bitwise Command}}
  
Taking the top value as a series of bits, ++ adds one to the value.  If this causes an overflow, the overflowing digits are lost.
+
Taking the top value as a series of bits,   adds one to the value.  If this causes an overflow, the overflowing digits are lost.

Revision as of 21:41, 4 June 2007

Increment Bit Value Operator UNARY

Bitwise Command:

~ Complement
& AND
| OR
^ XOR
++ increment stack value
-- deincrement stack value
- negate stack value
<< bit shift left
>> bit shift right

Taking the top value as a series of bits, adds one to the value. If this causes an overflow, the overflowing digits are lost.