Script Syntax: Flow Control Keywords
The script language has been expanded to have
conditional responses on "error" or "success" of a step within the
scripts. This is done by using the following keywords.
- . This checks for the current state
(ok or error) and jumps to a label if true.
IfState ERR End
IfState OK Bye
This immediately jumps to a label.
This immediately ends the script with an optional state (ok or
error). The optional state overrides the current state.
This defines a label that can be the target of a jump. A label is
defined by a single word beginning with the ":" character.
:(with a name
- . This allows for a global handling
of an error situation
OnError EXIT (Default behavior)
OnError GOTO Logoff