|
|
|
|
- Bitwise calculation
- Binary operator
BinaryNOT (Function) In french: NONBinaire 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
Syntax
<Result> = BinaryNOT(<Value>)
<Result>: Integer Result of logical NOT. <Value>: Integer Value to test. Remarks BinaryNOT performs the bitwise calculation of <Value> based on the following table: BinaryNOT is equivalent to the ~ binary operator. For more details, see Binary operators.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|