Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

Array

The array statement is used to create an array and assign the array to a variable. You can use this statement to create an array of empty variables or pre-defined variables.

In order to create an array with a fixed number of elements, you should use code like the following:

Dim aEmpty

aEmpty = Array(10)


If you wish to create an array of pre-defined variables, you would create the array as follows:

Dim aDays

aDays = Array("M", "T", "W", "Th", "F", "S", "Su")


You may also create a multi-dimensional array by defining two different sizes in your array declaration.

Dim aMatrix

aMatrix = Array(10)(10)

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"f u cn rd ths, u cn gt a gd jb n cmptr prgmmng." - Anon

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.