VBScript CBool Function
Complete VBScript Reference
The CBool function converts an expression to type Boolean.
Syntax
| Parameter |
Description |
| expression |
Required. Any valid expression. A nonzero value returns
True, zero returns False. A run-time error occurs if the expression can not
be interpreted as a numeric value |
Example 1
Dim a,b
a=5
b=10
document.write(CBool(a) & "<br />")
document.write(CBool(b))
Output:
True
True
|
Complete VBScript Reference
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|