43 of 318
ZBasic System Library 33 ZX Microcontroller Family CBool Type Function returning Boolean Invocation CBool(arg) Parameter Method Type Description arg ByVal Byte The value to convert to a Boolean value. Discussion This function converts a Byte value to a Boolean value. If the byte has the value 0 the result will be False, otherwise it will be True. Example Dim pinHi as Boolean pinHi = CBool(GetPin(12))