Valinc

From WikiManual
Revision as of 04:34, 12 June 2007 by Numsgil (talk | contribs) (Reverted edit of AixAvb, changed back to last version by Endy)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.