Core Function GetBit

From Sputnik Wiki
Jump to: navigation, search
GetBit( <binary-array>, <index> )

Contents

Description

Get the bit at a given index.

Parameters

binary-array

The binary variable to use.

index

Index of the bit to get (This is not the index of the bytes).

Return Value

Success: Returns true/false depending on what the bit is set to

Failure: Returns NULL

Remarks

See SetBit( ) for Remarks.

Example

See SetBit( ) for Example.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox