WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELPVersion: 1516171819202122232425
 Home | Sign in | English
• Bit-by-bit calculation
• Binary operator
WINDEV
WEBDEV
WINDEV Mobile
Others
BinaryOR (Function)
In french: OUBinaire
Returns the result of a logical OR (bit by bit) between two values.
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 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

Bit-by-bit calculation

BinaryOR performs the bit-to-bit calculation between <Value1> and <Value2> according to the following table:
 0 1 0 0 1 1 1 1

Binary operator

BinaryOR is equivalent to the binary operator |. See Binary operators for more details.
Component : wd250mat.dll
Minimum version required
• Version 9
This page is also available for…
 Comments
 Click [Add] to post a comment
 Registered trademarks. Copyright ©2009-2020 PC SOFT. All rights reservedThis website has been developed with WEBDEV and HFSQLWEBDEV, WINDEV Mobile and WINDEV programming