GetBit Method

Object List Next Object

Defined By:
DataBuffer

Description:

Looks at the state of a single Bit.

Declaration:

Function GetBit(ByVal offset As Long) As Long

Details:

Offset is the position of the Bit you want to inspect. GetBit returns the Bit
s state.


State Description


0 (Off) The Bit is Off.

-1 (On) The Bit is On.

See Also:

SetBit method, GetByte method