Core Function FillBit

From Sputnik Wiki
Jump to: navigation, search
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