VBScript: The Variant

As I said in another post, the Variant is the only data type supported in VBScript. Programmers in another language who are accustomed to using a language that offers a wide range of data types might find this disconcerting. However, the good news is that the Variant is also very flexible. Because of the Variant’s ability to store many different data types, your script can handle just about any kind of data you need: numbers, strings (text), and dates, plus other more complex data types such as objects and arrays.