Difference between revisions of "ClearSingleTimeout"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function ClearSingleTimeout(const Index: Integer): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description=...")
 
(No difference)

Latest revision as of 12:53, 3 July 2011

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