Returns the result of a logical NOT (bit by bit) performed on a value.
Reminder: The logical NOT operation is equivalent to the "Complement to one". The logical negation is applied to ALL the bits of the value.
// Retrieve the result of a logical NOT
ResBinaryNOT = BinaryNOT(6) // Returns -7
ResBinaryNOT = BinaryNOT(2) // Returns -3
<Result> = BinaryNOT(<Value>)
Result of logical NOT.
Value to test.
BinaryNOT performs the bitwise calculation of <Value> based on the following table:
is equivalent to the ~
binary operator. For more details, see Binary operators