PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Bit-by-bit calculation
  • Binary operator
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
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 bitwise calculation of <Value> based on the following table:
Value01
Result10

Binary operator

BinaryNOT is equivalent to the ~ binary operator. For more details, see Binary operators.
Component: wd270mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment