VBScript IsNull Function
Complete VBScript Reference
The IsNull function returns a Boolean value that indicates whether a
specified expression contains no valid data (Null). It returns True if
expression is Null; otherwise, it returns False.
Syntax
Parameter |
Description |
expression |
Required. An expression |
Example 1
dim x
document.write(IsNull(x) & "<br />")
x=10
document.write(IsNull(x) & "<br />")
x=Empty
document.write(IsNull(x) & "<br />")
x=Null
document.write(IsNull(x))
Output:
False
False
False
True
|
Complete VBScript Reference
Learn XML with <oXygen/> XML Editor - Free Trial!
|
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|