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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Arrays

Status
Not open for further replies.

sthmpsn1

MIS
Joined
Sep 26, 2001
Messages
456
Location
US
I need to store the number of elements my array has in another variable. How would I write this?
 
dim arrayNum
arrayNum = ubound(yourArrayName)

 
dim Test(3)
Response.Write ubound(test)


displays: 3
br
Gerard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top