[b][red]This message was edited by sarkiemarkie at 2006-2-15 15:39:8[/red][/b][hr]
[b][red]This message was edited by sarkiemarkie at 2006-2-15 15:29:42[/red][/b][hr]
for i:=1 to filesize(form3.vidvdfile) do
if videos[i]<=videos[i+i] then
the problem is that some of the array values contain a 0 and when the array compares a 0 with a 0 it keeps going as 0 does indeed equal 0. Also, if i have out the = in "<=" if the first two values in the array are 0 and 0 then they are not less than each other so the array ends immediately.