Empty Example 1

Dim varTest
MsgBox TypeName(varType)

Run the script using Windows Script Host and you'll see the value as "Empty". The subtype is Empty because we have not yet placed any value in it. Empty is both the initial subtype and the initial value of the variable. However, Empty is not a value that you can really do nothing with. You can display it on the screen or print it on paper. It only exists to represent the condition of the variable not having had any value placed in it. Try the code on next page.

First
Next