Core Function FillBit

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(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 === ===...")
 
m (1 revision)
 
(One intermediate revision by one user not shown)

Latest revision as of 12:37, 14 June 2015

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox