code:; Start first dir enumeration. On it's own this won't cause a problem$f = Dir("*",0) ; If you dont't iterate through the enumeration you won't get the problem.While @error = 0 $f = Dir(,0)Loop ; Declare the array - both GLOBAL and DIM exhibit the same problem.; Arrays with 1 or 3 dimensions do not exhibit the problem.Global $array[10,99] ; Check the array size"[1] Array ubound should be 99: " Ubound($array,2) ? ; Start second fir enumeration. This will cause the error.; If you use index 1 you won't get the problem.$f = Dir("*",0) ; Check the array size again - this will fail"[2] Array ubound should be 99: " Ubound($array,2) ?
; Start first dir enumeration. On it's own this won't cause a problem$f = Dir("*",0) ; If you dont't iterate through the enumeration you won't get the problem.While @error = 0 $f = Dir(,0)Loop ; Declare the array - both GLOBAL and DIM exhibit the same problem.; Arrays with 1 or 3 dimensions do not exhibit the problem.Global $array[10,99] ; Check the array size"[1] Array ubound should be 99: " Ubound($array,2) ? ; Start second fir enumeration. This will cause the error.; If you use index 1 you won't get the problem.$f = Dir("*",0) ; Check the array size again - this will fail"[2] Array ubound should be 99: " Ubound($array,2) ?
Generated in 0.049 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.