2. Writing Scripts and Procedures : How Procedure Handles Work (ProcHandle Objects) : How You Can Execute a ProcHandle Object
 
Share this page                  
How You Can Execute a ProcHandle Object
To execute the procedure specified by the ProcHandle object, invoke the Call method defined for the ProcHandle class. The syntax is:
[retval =] prochandle.Call(parameters);
The parameters are specified just as in a callproc statement. For an explanation about using the callproc statement, see How You Can Pass Parameters to 4GL Procedures (see How You Can Pass Parameters to 4GL Procedures).
The Call method uses the scope specified by the ProcHandle object to execute it.