DEFINE VARIABLE hCall AS HANDLE NO-UNDO.
CREATE CALL hCall. /* Invoke persis.p persistently */ ASSIGN hCall:CALL-NAME = "persis.p" /* Sets CALL-TYPE to the default */ hCall:CALL-TYPE = PROCEDURE-CALL-TYPE hCall:PERSISTENT = TRUE. hCall:INVOKE. /* Invoke internal-persis-proc in persis.p */ ASSIGN hCall:CALL-NAME = "internal-persis-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. |