Search here for all the info you want in this Blog

variable Declaration

variable Declaration


A variable must be declared with a name and a specific data type. Since VBScript supports only one data type, Variant, all variables will be declared as Variant by default.

You declare variables explicitly in your script using the Dim
statement, the Public statement, and the Private statement. For
example:
Dim DegreesFahrenheit
You declare multiple variables by separating each variable name
with a comma. For example:
Dim Top, Bottom, Left, Right

Just in case you want to know, "Dim" stands for "Dimension".

No comments:

Post a Comment