Difference between revisions of "TerminateScript"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure TerminateScript; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Terminates the current script e...")
 
(No difference)

Latest revision as of 08:58, 28 June 2011

Definition

procedure TerminateScript;

Availability

SCAR Divi 3.00 > Current

Description

Terminates the current script execution, the equivalent of pressing the stop button (twice).

Example

begin
  WriteLn('Hello World!');
  TerminateScript;
  WriteLn('The script has terminated, this line will not be reached.');
end.

Output:

Hello World!