How i can make the Idhttp run in loop if return 404 page not found the problem is 'GOTO CheckAgain' leads into or out of TRY statement
label
CheckAgain;
begin
CheckAgain:
try
idhttp.Get(sURL+WebFile[I], S);
except
on E: EIdHTTPProtocolException do
if AnsiPos('404',E.Message) <> 0 then
begin
I := I+1;
goto CheckAgain;
end;
end;
end;