Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populating an array

Status
Not open for further replies.

dbrooks74

Programmer
Nov 13, 2001
105
US
Can you populate an array using one line so for instance
Dog[]={5,4,3,2,1}

Thanks. -db
 
example in Vbscript

Dim A
A = Array(10,20,30)
B = A(2) ' B is now 30.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top