BitOffInteger (Float function)

From m204wiki
Revision as of 10:35, 30 March 2011 by John (talk | contribs) (Created page with "{{Template:Float:BitOffInteger subtitle}} The <var>BitOffInteger</var> intrinsic function turns off a set of bits in an integer as indicated by another. =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Clear bits in one integer from another (Float class)

[Introduced in Sirius Mods 7.9]


The BitOffInteger intrinsic function turns off a set of bits in an integer as indicated by another.

Syntax

%result = float:BitOffInteger( offBits)

Syntax terms

%resultA variable to receive the result of turning off the bits of offBits in float.
floatThe float to turn off bits in.
offBitsThe bits to turn off.

Usage notes

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

Examples

See also