BitOffInteger (Float function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Clear bits in one integer from another (Float class)

[Introduced in Sirius Mods 7.9]


The BitOffInteger intrinsic function turns "off" the set of bits in one integer that are "on" in another.

Syntax

%result = float:BitOffInteger( offBits)

Syntax terms

%resultA variable to receive the result of turning off the bits of offBits in float.
floatThe integer whose bits are to be turned off.
offBitsThe integer whose bits are turned off in float.

Usage notes

  • The BitOffInteger function is available as of Sirius Mods Version 7.9.

See also