Platforms to show: All Mac Windows Linux Cross-Platform

HiWordMBS(i as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Math MBS Util Plugin 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the high word part of the integer.
Example
MsgBox hex(HiWordMBS(&H12345678)) // shows 1234

equal to bitwiseshiftright(i,16)

Some examples using this global method:

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


The biggest plugin in space...