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 determine if a dynamic array is empty?

Status
Not open for further replies.

happyabc

IS-IT--Management
Mar 10, 2004
164
IN

I used to think UBound and LBound return -1 in the case of empty dynamic arrays but instead I get run-time error # 92 ( invalid bound ). So what is the best way of finding if a dynamic array is empty?
 
See strongm's post in Thread222-836312. Works great, I use it often.

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top