29
CBit
Type
Function returning Bit
Invocation
CBit(arg)
Parameter
Method
Type
Description
arg
ByVal
integral or Boolean
The value to convert to a Bit value.
Discussion
This function converts a numeric or Boolean value to a Bit value. In all cases, the result will be the least
significant bit of the passed value without regard to its type.
Example
Dim pinVal as Bit
Compatibility
This function is not available in BasicX compatibility mode.