Quote:
|
Originally Posted by voxecho
if i set a variable to vbNull it doesn't turn null... why is this?
i = 100
i = vbNull
i '// 1
isNull(vbNull) '// false
am i missing something?
|
VBNull is a constant and should only be used with the VarType function.
When you do this:
i = vbNull you are assigning a 1 to i.
So:
isNull(i) would be false as well as isNull(vbNull) because vbNull is a constant = 1.
If you are having trouble grasping my explanation just google "vbnull" or "vbnull vbscript" and you will find many explanations.
BaldEagle