Hi,
does anyone have an idea how I can test if an array contains ANY elements?
What I'm trying to do is to pass an array as the first parameter of a function together with a new value for this array as the second parameter of the function. This function should append the new value to the array and return the array. The function is then called repeatedly to append new elements to the array.
The problem I can't solve is how to determine if the passed array has ANY element in it (this will be the case when the function is called for the first time).
I need to determine the correct Ubound of the array to properly expand it.
Any Ideas on how to do that would be greatly appreciated.
Thanks
Volker
does anyone have an idea how I can test if an array contains ANY elements?
What I'm trying to do is to pass an array as the first parameter of a function together with a new value for this array as the second parameter of the function. This function should append the new value to the array and return the array. The function is then called repeatedly to append new elements to the array.
The problem I can't solve is how to determine if the passed array has ANY element in it (this will be the case when the function is called for the first time).

Any Ideas on how to do that would be greatly appreciated.
Thanks
Volker