-
My program uses an array,
the program will check for certain conditions
and if they are met information is written to the array.
how can i check if the array contains any information
before i try to get it back out and do something with it.
thanks in advance
MICK
-
There is only one way to check if an array is empty, and it's errorhandling
Code:
on error resume next
test=ubound(array)
if err=9 then
'array is empty
else
'array contains something
end if
-
thanks a lot kedaman, that worked just fine
MICK