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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  


Perform bitwise not operation.

Component Version macOS Windows Linux Server iOS SDK
Math 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Math.BitwiseNOT"; value )   More


Parameter Description Example
value The number to use. 255


Returns number.


Perform bitwise not operation.
Only for integer number.

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


Calculates Bitwise NOT of 255:

MBS( "Math.BitwiseNOT"; 255 )

See also

Release notes

Blog Entries

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

Math.BitwiseAND - Math.BitwiseOR

Feedback: Report problem or ask question.

MBS Xojo blog

Start Chat