D
djc
I have a dynamic array that could be used in several different places. I
need to test if it has been dimensioned yet using the ReDim statement before
taking an action in several places.
I know I could declare the array as a variant and use the IsEmpty() function
but I really only need an array of short strings. I understand variants
would take up much more memory. How could I do this if the array is of type
string? len(arrayVar())? len(arrayVar(0))? It may not be dimensioned yet
though.
please enlighten me.
need to test if it has been dimensioned yet using the ReDim statement before
taking an action in several places.
I know I could declare the array as a variant and use the IsEmpty() function
but I really only need an array of short strings. I understand variants
would take up much more memory. How could I do this if the array is of type
string? len(arrayVar())? len(arrayVar(0))? It may not be dimensioned yet
though.
please enlighten me.