Core Function GetBit

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> GetBit( <binary-array>, <index> ) </pre> === Description === Get the bit at a given index. === Parameters === ==== binary-array ==== The binary variable to use. ==== ...")
 
m (1 revision)

Revision as of 21:41, 11 August 2014

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