Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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.
This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat value2 parameter as often as you need.
Examples
Applies bitwise or for three numbers which gives 23:
MBS("Math.BitwiseOR"; 5; 6; 16)
See also
Release notes
- Version 7.3
- Improved Math.BitwiseAND, Math.BitwiseOR, Math.BitwiseNOT, Math.BitwiseXOR, Math.BitwiseShiftRight and Math.BitwiseShiftLeft to use 64-bit integers instead of 32-bit.
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 5th June 2021