Difference between revisions of "GetTimeRunning"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetTimeRunning: Cardinal; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the time a scri...")
 
(No difference)

Latest revision as of 23:14, 1 July 2011

Definition

function GetTimeRunning: Cardinal;

Availability

SCAR Divi 3.00 > Current

Description

Returns the time a script has been running in milliseconds.

Example

begin
  Wait(1000);
  WriteLn('Running for ' + IntToStr(GetTimeRunning) + 'ms');
end.

See Also