Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for an empty array?
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00389045
Message ID:
00389070
Views:
31
>What is the best way to check for an empty array?

You could check Ubound. If its 0 the array is empty, if its not you could validate the elements to see if they qualify for your definition of empty.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform