SetBit Method

Object List Next Object

Defined By:
DataBuffer

Description:

Allows you to set the value of a specific Bit.

Declaration:

Sub SetBit(ByVal offset As Long, ByVal value As Long)

Details:

Offset is the position of the Bit you want to set. value is what you want to set the Bit to.


State Description


0 (Off) Turn the Bit Off.

-1 (On) Turn the Bit On.

See Also:

GetBit method, SetByte method