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
Want To Be A Web Master?
If you want to be a Web Master, you will have to host your web site with an ISP (Internet Service Provider).
MaximumASP offers seven different configurations of dedicated servers to meet your Windows and .NET hosting needs.
Hosted on our multi-tiered Enterprise Class network, these servers provide the performance, security and reliability
you need to host your high end web sites and applications.
Visit MaximumASP
|