SetTimeout
From SCAR Divi Manual
Definition
function SetTimeout(ms: Integer; ProcName: AnsiString): Integer;
Availability
SCAR Divi 3.00 > Current
Description
Adds a timeout to the timeout system which will call the function specified by it's name in ProcName after a given (minimum) amount of milliseconds specified by ms.
Example
procedure Timeout; begin WriteLn('Timeout'); end; begin SetTimeout(1000, 'Timeout'); Wait(3000); end.
Output:
Timeout