Core Function GetBit
From Sputnik Wiki
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.