Difference between revisions of "Valinc"

From WikiManual
Jump to: navigation, search
 
m
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.

Revision as of 17:55, 31 January 2006

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.