8.4.5 CBool Function

Returns an expression that has been converted to a Variant of subtype Boolean.
Syntax
CBool(expression)
Arguments
- expression
- Any valid expression.
Remarks
If expression is zero, False is returned; otherwise, True is returned. If expression can't be interpreted as a numeric value, a run-time error occurs.
Copyright © 2000 Chili!Soft
|