Hi,
Is there a function by which you can determine if an array has been dimmed? Basically, I dim a global array as:
Dim MyArray() As String
Now in a function, if a certain string contains stuff, the contents is Split() into the array. Problem is, if I have nothing in the string, then the Split never takes place, and functions that call on the array later on encounter Error 9: Subscript out of range errors. Is there a way I can test for this condition? (And therefore declare the empty array to an arbritrary size) ?
Thanks
Yum.
Is there a function by which you can determine if an array has been dimmed? Basically, I dim a global array as:
Dim MyArray() As String
Now in a function, if a certain string contains stuff, the contents is Split() into the array. Problem is, if I have nothing in the string, then the Split never takes place, and functions that call on the array later on encounter Error 9: Subscript out of range errors. Is there a way I can test for this condition? (And therefore declare the empty array to an arbritrary size) ?
Thanks
Yum.