CALL - Local Procedure Call

CALL - Local Procedure Call

CALL action - local procedure call


Declaration

CALL ProcName [(paramIdent1 [,paramIdent2]...)]

Parameters

Procname

in

Procedure name (it must meet the rules for object name).

paramIdent1, paramIdent2, ..., paramIdentN

in

Value identifier for the first (second, third, .., N) parameter.
The number of parameters must be identical to the number of parameters of the procedure called.

Description

CALL action is used to call a procedure with the name defined in the ProcName parameter. The procedure name is followed by a list of comma-separated parameters enclosed between brackets. The number of parameters must be equal to the number of parameters of the called procedure. If some of the parameters is specified as an input-output one in the procedure declaration, the corresponding parameters must not be a constant.

Example

See the action PROCEDURE.