Difference between revisions of "Valinc"

From WikiManual
Jump to: navigation, search
m
m (Reverted edit of AixAvb, changed back to last version by Endy)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 05:34, 12 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.