Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Perform bitwise or operation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Math 4.1 Yes Yes Yes Yes Yes

MBS( "Math.BitwiseOR"; value1; value2 )


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


Returns number.


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.


Applies bitwise or for three numbers which gives 23:

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

See also

Math.BitwiseNOT   -   Math.BitwiseShiftLeft

Feedback: Report problem or ask question.

MBS Xojo tutorial videos