|
Procedure Calls
The GPP_CALLPROC statement is used to call a GPP procedure, with or without parameters.
GPP_CALLPROC <proc-name> ();
GPP_CALLPROC <proc-name> (<expr1>, <expr2>…);
The number of arguments and their types must match the parameters defined in the procedure. Any numeric or string expressions may be used as arguments, as long as they match the expected procedure parameter.
Multiple procedure arguments must be separated by commas.
When executing a GPP_CALLPROC statement, GPP evaluates the argument expressions, assigns the resulting values to the local procedure parameters, and executes the sequence of statements inside the procedure.
|