Core Function FillBit
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> FillBit( <binary-array>, <value> ) </pre> === Description === Set all bits to the value . This will change all the bits to either TRUE or FALSE. === Parameters === ===...")
Newer edit →
(Created page with "<pre> FillBit( <binary-array>, <value> ) </pre> === Description === Set all bits to the value . This will change all the bits to either TRUE or FALSE. === Parameters === ===...")
Newer edit →
Revision as of 09:01, 11 August 2014
FillBit( <binary-array>, <value> )
Contents |
Description
Set all bits to the value .
This will change all the bits to either TRUE or FALSE.
Parameters
binary-array
The binary variable to use.
value
Optional; Value to set all bits to. (Should be TRUE or FALSE)
Default: FALSE
Return Value
Success: Returns true if operation was a success (even if the bits were already set to what we wanted to change them to)
Failure: Returns false
Remarks
See SetBit( ) for Remarks.
Example
See SetBit( ) for Example.