StopExecution
Stops the script execution. Server gets a runtime information and and information about what the script was finished before the appointed.
Syntax
procedure StopExecution(aReset: boolean = true);
Parameters
- aReset
- type: boolean
- functions: flag indicating whether the completion was a resetting. Necessary for statistics differentiation.
Notes
- Execution, which finished by StopExecution while aReset is equal true will be displayed in the statistics as uncompleted task. If aReset equals false, then execution will be displayed in the statistics, as normal.
Examples
StopExecution;