Link to this page
Print this page
Parent topic
:
Language basics
Language basics
Flow control
Definition of language elements and instructions that control the flow of a program.
CALL
The
CALL
instruction invokes a specified function or method.
RETURN
The
RETURN
instruction returns flow control to the function caller.
CASE
The
CASE
instruction specifies statement blocks that must be executed conditionally.
CONTINUE block-name
The
CONTINUE
block-name
instruction resumes execution of a loop or dialog statement.
EXIT block-name
The
EXIT
block
instruction transfers control out of the current program block.
FOR
The
FOR
instruction executes a statement block a specified number of times.
GOTO
The
GOTO
instruction transfers program control to a labeled line within the same program block.
IF
The
IF
instruction executes a group of statements conditionally.
LABEL
The
LABEL
instruction declares a jump point that can be reached by a
GOTO
.
SLEEP
The
SLEEP
instruction causes the program to pause for the specified number of seconds.
WHILE
The
WHILE
statement executes a block of statements until the specified condition becomes false.