TerminateScript

From SCAR Divi Manual
Revision as of 08:58, 28 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure TerminateScript; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Terminates the current script e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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!