Platforms to show: All Mac Windows Linux Cross-Platform

BitInclMBS(value as UInt64, bitNumber as Integer) as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Math MBS Util Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All

Does an bitwiseOr using the value and 2^bitNumber
Or: Switches on the bit bitNumber inside value.
Example
msgBox str(BitInclMBS(64,4))
' displays 80 which is 64 + 16 = 64 + 2^4

Always using 64-bit.

Some examples using this global method:

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...