scasystems
Programmer
I have a class with
Private mErrors() as String
Public SomeProc()
if ubound(mErrors)=0 then
fill array
end if
do something
end sub
The problem is the array is not initialized. so get subscript out of range error. if I do private mErrors(0) then i cannot redim the array. What is the most efficient method for checking unitialized arrays
cheers for any help
Private mErrors() as String
Public SomeProc()
if ubound(mErrors)=0 then
fill array
end if
do something
end sub
The problem is the array is not initialized. so get subscript out of range error. if I do private mErrors(0) then i cannot redim the array. What is the most efficient method for checking unitialized arrays
cheers for any help