May 13, 2021 VBScript
The VBScript CBool function returns an expression of a variable that has been converted to a Boolean sub-type.
The CBool function converts expressions to Boolean types.
The expression must be a value.
parameter | describe |
---|---|
expression | Required.Any effective expression.The non-zero value returns true, and zero returns false.If the expression cannot be interpreted as a value, a Run-Time error occurs. |
The above example output results: