End a loop command...
Does anyone know if there a right way to end a loop command...
because i'm getting a microsoft debug error "COM Surrogate"
i searched for it and they say it can be an infinite loop in an ASP page...
here's my loop
For thisfile = 0 to maxfiles
If thisfile = 0 then
totalfiles = filenames(thisfile)
Else
totalfiles = totalfiles & "+" & filenames(thisfile)
End if
Next
|