Our Newsletter


Subscribe to our Newsletter and we'll keep you notified of new products, giveaways and discounts.

We respect your email privacy and will never sell or share your details with anyone.


Knowledgebase Home | Glossary | Favorites | Contact | Login Knowledgebase Home | Glossary | Favorites | Contact | Login
Search the Knowledgebase Browse by Category
VBScript Arrays
Article Details

Last Updated
23rd of February, 2009

User Opinions (0 votes)
No users have voted.

How would you rate this answer?
Helpful
Not helpful
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"





     
For more information about VBScript, check out our VBScript Training Videos
VBScript Training Videos
     



Visitor Comments
No visitor comments posted. Post a comment
Post Comment for "VBScript Arrays"
To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Your Name:
   Email Address:
* Your Comment:
* Enter the code below:
 
Related Articles
No related articles were found.
Attachments
No attachments were found.