
Appendix B Command Syntax
Scripting Guide 238
GOSUB Flow
Control
Immediately transfers script
execution to the specified
label and waits until the
called routine finishes
execution.
GOSUB*Label
GOTO Flow
Control
Immediately transfers script
execution to the specified
label.
GOTO*Label
IF (ENDIF) Flow
Control
Evaluates an expression for
TRUE or FALSE. (If…Then
statement)
IF…[ELSE…]ENDIF
REPEAT Flow
Control
Repeats a sequence of
commands until an
expression evaluates to
TRUE.
REPEAT…UNTIL
RETURN Flow
Control
Returns execution to the
calling routine, passing an
optional return value.
RETURN[Expression]
START Flow
Control
Initiates execution of
another script for
concurrent processing.
STARTScriptName(Parms)[,%Class[,$Name]])
STOP Flow
Control
Halts execution of another
script.
STOP(ScriptName[,%Class[<$Name]])
SWITCH Flow
Control
Executes command(s) based
on the value of an
expression.
SWITCH…CASE…[DEFAULT…]ENDSWITCH
SYSEXEC Flow
Control
Executes a (Unix) command
on the MCC host system
with parameters.
SYSEXEC($String)==>%Return
Komentarze do niniejszej Instrukcji