..
The IsNull function, Boolean, returns true if the value passatole takes the special value "null" (null) and False otherwise.
The syntax is as follows:
document.write (IsNull ("Luke"))
Returns False.
The "IsNull" is frequently used to check whether the filtered value is zero or less, then perform different routines depending on the result, as in the following:
Dim value
value = "Luke"
If IsNull (Value) = False Then
document.write ('And' no ')
Else
document.write ("Not null")
End If
Returns "is not null".
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
Visual Basic 6 (Course)
Make Desktop Applications with VB6. From 39 €. |