Code: Select all
sub thread(byval pointer as any ptr)
dim array()
do
if new_data=1 then
if check=1 then redim array(a,b,c)
'do calculations
end if
'report back the main thread
loop until user_terminated=1
end sub
Does the redim guarantee that any previous data in the array is cleared?
Thanks