AddToReport
From SCAR Divi Manual
Contents
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!