DEFINE VARIABLE hCall AS HANDLE NO-UNDO.
CREATE CALL hCall. /* Invoke single.p as single-run*/ ASSIGN hCall:CALL-NAME = "single.p" /* Sets CALL-TYPE to the default */ hCall:CALL-TYPE = PROCEDURE-CALL-TYPE hCall:PROCEDURE-TYPE = SINGLE-RUN. hCall:INVOKE. /* Invoke internal-single-proc in single.p */ ASSIGN hCall:CALL-NAME = "internal-single-proc" /* Sets CALL-TYPE to the default */ hCall:CALL-TYPE = PROCEDURE-CALL-TYPE hCall:NUM-PARAMETERS = 1. hCall:SET-PARAMETER(1, "INTEGER", "INPUT", 333). hCall:INVOKE( ). /* Clean up */ DELETE PROCEDURE hCall:IN-HANDLE. DELETE OBJECT hCall. |