一.ISNULL函数:判断VBS中的变量是否为null值
1 Dim x 2 3 MsgBox IsNull(x) -----False 4 5 x = null 6 MsgBox IsNull(x) -----True 7 8 x = "11" 9 MsgBox IsNull(x) -----False
二.ISEMPTY函数:判断VBS中的变量是否赋值
1 Dim x 2 3 MsgBox IsEmpty(x) -------True 4 5 x = null 6 MsgBox IsEmpty(x) -------Flase 7 8 x = "11" 9 MsgBox IsEmpty(x) -------False