ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Bitwise 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 the (bitwise) logical OR between two values.
Example
// Retrieve the result of a logical OR
ResBinaryOR = BinaryOR(6, 6)  // Returns 6
ResBinaryOR = BinaryOR(6, 2)  // Returns 6
Syntax
<Result> = BinaryOR(<Value 1> , <Value 2>)
<Result>: Integer
Result of logical OR.
<Value 1>: Integer
First value to test.
<Value 2>: Integer
Second value to test.
Remarks

Bitwise calculation

BinaryOR performs the bitwise calculation between <Value 1> and <Value 2> according to the following table:
01
001
111

Binary operator

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