Arrays
This example will create an array called arrShopping that contains the Elements of Bread, Milk, Apples, Carrots, Lemons and Tomatoes. This array has 6 elements numbered 0 through to 5.
arrShopping = Array("Bread","Milk","Apples","Carrots","Lemons","Tomatoes")
The same array could also be created in this way;
Dim arrShopping(5)
arrShopping(0) = "Bread"
arrShopping(1) = "Milk"
arrShopping(2) = "Apples"
arrShopping(3) = "Carrots"
arrShopping(4) = "Lemons"
arrShopping(5) = "Tomatoes"
Become a Member
Start learning about VBScript right now!
Become a Member and begin downloading our VBScript Videos Immediately!
These VBScript Videos are from our VBScript Product
|