AddToReport

From SCAR Divi Manual
Revision as of 09:57, 28 June 2011 by Freddy (talk | contribs)
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!