Platforms to show: All Mac Windows Linux Cross-Platform

BitIsSetMBS(value as UInt64, bitNumber as Integer) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Math MBS Util Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Tests whether a certain bit is set inside the value
Example
dim bool as boolean

bool=BitIsSetMBS(80,4)
' true, because 2^4=16 is included in 80=2^4+2^6

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...