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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 bit-to-bit calculation of <Value> according to the following table:
Value01
Result10

Binary operator

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