Data Type Prefix - Hungarian Notation

Dim varTest
varTest = "Hello There"
MsgBox TypeName(varTest)

You may have noticed that I named the variable in the above example varTest. This might look strange if you have not seen "Hungarian Notation" before. Hungarian Notation defines the practice of placing prefixes in front of variable names in order to convey the data type of the variable, as well as its "scope". It might seem unnecessary to include a data type prefix since VBScript only supports one data type, the Variant. However, data type prefixes for Variant Variables are just as useful and important, or even more so, as they are for languages that support specific data types. This is because Variant Variables can hold virtually any kind of data.

First
Next