Pascal Scripting: DelayDeleteFile

Prototype:

procedure DelayDeleteFile(const Filename: String; const Tries: Integer);

Description:

Attempts to delete Filename, retrying up to Tries times if the file is in use. It delays 250 msec between tries.