Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following table is a set of statements and keywords that can be used in the script.

Type

Description

IF-ELSE

if and else Statement

Evaluates the expression after “if“ if. If the expression is true, then the code immediately following “if“ "if" will be executed. Otherwise, the contents immediately following “else“ "else" will be executed. The user can specify multiple cases to evaluate by using the ‘else if’ else-if expression.

WHILE

while/

DO

do-

WHILE

while Statement

while expression will continue to execute until the expression becomes false. Statements for loop processes.

FOR Statement

A statement for more complex loop processes.

SWITCH-CASE Statement

Statement for executing different processes based on different conditions.

GOTO Statement

A statement that forces the flow of the program to go to a specific location in the script.

CONTINUE Keyword

A keyword used in loop processes.

RETURN Keyword

A keyword that designates the value that will be returned to the caller.

RUNSCRIPT Keyword

A keyword that calls an external program.

...