Microsoft® Visual Basic® Scripting Edition
CBool Function
Language Reference |

See Also


Description
Returns an expression that has been converted to a Variant of subtype Boolean.

Syntax

CBool(expression)

The expression argument is 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.

© 1996 by Microsoft Corporation.