ClearSingleTimeout

From SCAR Divi Manual
Revision as of 12:53, 3 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function ClearSingleTimeout(const Index: Integer): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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