ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILEVersion: 151617181920212223242526
• Bit-by-bit calculation
• Binary operator
WINDEV
WEBDEV
WINDEV Mobile
Others
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.
Versions 15 and later
This function is now available for Android applications.
New in version 15
This function is now available for Android applications.
This function is now available for Android applications.
Versions 16 and later
This function is now available for Windows Phone applications.
New in version 16
This function is now available for Windows Phone applications.
This function is now available for Windows Phone applications.
Versions 17 and later
This function is now available for iPhone/iPad applications.
New in version 17
This function is now available for iPhone/iPad applications.
This function is now available for iPhone/iPad applications.
Versions 18 and later
This function is now available in Android Widget mode.
This function is now available in Windows Store apps mode.
New in version 18
This function is now available in Android Widget mode.
This function is now available in Windows Store apps mode.
This function is now available in Android Widget mode.
This function is now available in Windows Store apps mode.
Versions 21 and later
This function is now available in Universal Windows 10 App mode.
New in version 21
This function is now available in Universal Windows 10 App mode.
This function is now available in Universal Windows 10 App mode.
Example
// 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

Bit-by-bit calculation

BinaryNOT performs the bit-to-bit calculation of <Value> according to the following table:
 Value 0 1 Result 1 0

Binary operator

BinaryNOT is equivalent to the binary operator ~. See Binary operators for more details.
Component: wd260mat.dll
Minimum version required
• Version 9