XenoGuard Documentation

Abort

Actions » Programming » Flow Control » Abort 

The action Abort irregularly terminates the execution of a current running script.



[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the Flow Control node, select the Abort action.

Parameters:

The action has the following input parameters:


name Description

Reason

The reason or description for the termination of the current action.

Allowed Context Scopes
 [Fixed, Local, Global]

Results:

The action returns the following results:

NAME
DESCRIPTION
Reason Explanation on why the current action is terminated.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types 
[Variable, Parameter]

Information The Abort action is applicable in the current script and can also be used for child action scripts.

Example 1 (Terminate action script unexpectedly):

This example determines if a local variable named numValue with Number as data type contains a 6-digit number. Otherwise, the action is terminated since the condition is false.


See other flow control actions: 

If
For Loop
For Each
While
Break
Label
GoTo
Parallel
On Error Continue
On Error GoTo
Abort on Error