ClearSingleTimeout

From SCAR Divi Manual
Jump to: navigation, search

Definition

function ClearSingleTimeout(const Index: Integer): Boolean;

Availability

SCAR Divi 3.25 > Current

Description

Clears a single timeout function based on it's index given by Index.

Example

procedure Timeout;
begin
  WriteLn('Timeout');
end;

begin
  SetTimeout(1000, 'Timeout');
  ClearSingleTimeout(SetTimeout(1000, 'Timeout'));
  Wait(3000);
end.

Output:

Timeout

See Also