53 of 286
39 CNibble Type Function returning Nibble Invocation CNibble(arg) Parameter Method Type Description arg ByVal integral or Boolean The value to convert to a Nibble value. Discussion This function converts a numeric or Boolean value to a Nibble value. If the passed value is a Bit or Boolean value the three most significant bits of the return value will be zero. In all other cases, the result will be the four least significant bits of the passed value without regard to its type. Example Dim nVal as Nibble nVal = CNibble(Register.PortC) Compatibility This function is not available in BasicX compatibility mode.