Run an internal procedure or user-defined function on an OpenProcObject

Once you obtain your Progress.Open4GL.Proxy.OpenProcObject instance, you can run any internal procedure or user-defined function defined in the object. However, if you are calling a user-defined function, you must identify the return type of the function before calling it. For more information, see Define the return type for a user-defined function. For information on accessing the return value after calling the function, see Access user-defined function return values.

Run the internal procedure or user-defined function using the following method on the OpenProcObject:

Syntax

public void RunProc(string procName, ParamArray paramArray)
procName

The name of an internal procedure or user-defined function provided by the OpenProcObject.

paramArray

Specifies a Progress.Open4GL.Proxy.ParamArray that holds the parameters for the internal procedure or user-defined function. For more information, see Set up a parameter array.