38 of 286
24 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 pinVal = CBit(GetPin(12)) Compatibility This function is not available in BasicX compatibility mode.