Difference between revisions of "Wait"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
procedure Wait(const ms: Integer);
+
procedure Wait(const MS: Integer);
 
</source>
 
</source>
  
Line 11: Line 11:
  
 
==Description==
 
==Description==
Pauses the script for a certain amount of milliseconds specified by '''ms'''.
+
Pauses the script for a certain amount of milliseconds specified by '''MS'''.
  
 
==Example==
 
==Example==

Latest revision as of 12:17, 4 April 2012

Definition

procedure Wait(const MS: Integer);

Availability

SCAR Divi 3.00 > Current

Aliases

  • Sleep (SCAR Divi 3.00 > Current)

Description

Pauses the script for a certain amount of milliseconds specified by MS.

Example

begin
  Wait(5000);
end.