BitOffInteger (Float function): Difference between revisions
Jump to navigation
Jump to search
(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. =...") |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Float:BitOffInteger subtitle}} | {{Template:Float:BitOffInteger subtitle}} | ||
The <var>BitOffInteger</var> [[Intrinsic classes|intrinsic]] function turns off | The <var>BitOffInteger</var> [[Intrinsic classes|intrinsic]] function turns "off" the set of bits in one integer that are "on" in another. | ||
==Syntax== | ==Syntax== | ||
{{Template:Float:BitOffInteger syntax}} | {{Template:Float:BitOffInteger syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%result</th><td>A variable to receive the result of turning off the bits of <var class="term">offBits</var> in <var class="term">float</var>.</td></tr> | <tr><th>%result</th><td>A variable to receive the result of turning off the bits of <var class="term">offBits</var> in <var class="term">float</var>.</td></tr> | ||
<tr><th> | <tr><th>float</th><td>The integer whose bits are to be turned off.</td></tr> | ||
<tr><th>offBits</th><td>The integer whose bits are turned off in <var class="term">float</var>.</td></tr> | |||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul><li>The <var>BitOffInteger</var> function is available as of <var class="product">[[Sirius Mods]]</var> Version 7.9</ul> | <ul> | ||
<li>The <var>BitOffInteger</var> function is available as of <var class="product">[[Sirius Mods]]</var> Version 7.9. | |||
</ul> | |||
==See also== | ==See also== | ||
{{Template:Float:BitOffInteger footer}} | {{Template:Float:BitOffInteger footer}} |
Latest revision as of 17:22, 2 November 2012
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
%result | A variable to receive the result of turning off the bits of offBits in float. |
---|---|
float | The integer whose bits are to be turned off. |
offBits | The integer whose bits are turned off in float. |
Usage notes
- The BitOffInteger function is available as of Sirius Mods Version 7.9.