XenoGuard 4.0 Documentation

Abort

ActionStep Reference » Programming » Flow Control » Abort 

The ActionStep 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 ActionStep.

Parameters:

The ActionStep has the following input parameters:


name Description

Reason

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

Allowed Context Scopes
 [Fixed, Local, Global]

Results:

The ActionStep returns the following results:

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

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

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

Example 1 (Terminate ActionScript unexpectedly):

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


See other Flow Control ActionSteps: 

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