Looks like a DIR() problem whne restarting the DIR enumeration with the same enumeration handle as this works:
code:
break on

$f = Dir("*",0)
$a=0
While @error=0
$f = Dir(,0)
Loop
;declare the array
Global $array[10,99]
;check the array size
"[1] Array ubound should be 99: " Ubound($array,2) ?
$f = Dir("*",1)
"[2] Array ubound should be 99: " Ubound($array,2) ?

_________________________
There are two types of vessels, submarines and targets.