company logo

Return from procedure (RETURN)

When calling a procedure defined in a command file, the defined procedure should be terminated by a RETURN statement. The command will leave the current procedure and continue with the next statement after the procedure call. When no RETURN statement has been defined, the command continues until the end of the command file. This may also include commands of a subsequent procedure in the command file.

Syntax:

  return