Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Math.BitwiseOR

Perform bitwise or operation.

Component Version macOS Windows Linux Server iOS SDK
Math 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Math.BitwiseOR"; value1; value2 )   More

Parameters

Parameter Description Example
value1 The first number. 5
value2 The second number. 6

Result

Returns number.

Description

Perform bitwise or operation.
Only for integer numbers. You can pass several values to combine more than 2 values.

Updated to use 64-bit signed integers in version 7.3.

Examples

Applies bitwise or for three numbers which gives 23:

MBS("Math.BitwiseOR"; 5; 6; 16)

See also

Release notes

Blog Entries

Created 18th August 2014, last changed 14th July 2017


Math.BitwiseNOT - Math.BitwiseShiftLeft

Feedback: Report problem or ask question.