Variables in VBScript are implicitly declared as being of type Variant. This means that a variable can contain any data type. Conversion functions can be used to convert between data types.
| Data Type | Detail |
|---|---|
| Boolean | True or False |
| Byte | Short integer (0 to 255) |
| Integer | Integer |
| Currency | Four decimal point, non-floating point number |
| Long | Long integer |
| Single | Single precision floating point number |
| Double | Double precision floating point number |
| Date/Time | Number representing a date between Jan 1, 100 and Dec 31, 9999 |
| String | Variable length string |
| Object | An object reference. A reference is a memory address location of the start of a section of memory (actual, virtual or storage) containing the object |
| Empty | An uninitialized variable; 0 for numbers and "" for strings |
| Null | Deliberate null initialization |
| Error | An error number as a result of a failed operation |