Difference between revisions of "Valinc"

From WikiManual
Jump to: navigation, search
 
m (Reverted edit of AixAvb, changed back to last version by Endy)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
Increment Bit Value Operator '''UNARY'''
 
Increment Bit Value Operator '''UNARY'''
 +
 +
{{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.