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

how to return array length 1

Status
Not open for further replies.

Kicket

Technical User
Jun 15, 2002
155
US
How can i return an array length?


ff
 
If by the length of an array, you mean the number of elements, then you should take a look at two functions LBound and UBound which return the lower bound subscript and upper bound subscript respectively.

The Number of elements is then UBound(Array) - LBound(Array) + 1
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top