Arbortext Command Language > Using the Arbortext Command Language > Bitwise Negation
  
Bitwise Negation
 
~
$n=~7 returns the bitwise NOT of its operand, in this case ~7 = –8.
The following operators are numeric and require numeric operands:
+, -, *, /, &, ^, |, <<, >>, %, ~, ++, and ––
Related Topics
Functions as expressions and commands
Using expressions
Logical expressions
Operands