ClassesClasses | | Operators

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

returnreturnReturnReturn (Operator)

Name

returnreturnReturnReturn — Terminate procedure call.

Signature

return( : : : )

Herror return()

Herror T_return()

void Return()

static void HOperatorSet.Return()

Description

returnreturnReturnReturnReturn terminates the current procedure call and returns to the calling procedure. Program execution is continued at the next active program line after the procedure call in the calling procedure. If the current procedure is the main procedure, program execution is finished and the program counter jumps to the end of the program. Note that every procedure except the main procedure has to contain at least one reachable returnreturnReturnReturnReturn operator line in order to be able to return from a call to the procedure.

Result

returnreturnReturnReturnReturn always returns 2 (H_MSG_TRUE).

Module

Foundation


ClassesClasses | | Operators