Try OpenEdge Now
skip to main content
Java Open Clients
Using the Open Client Java OpenAPI to Directly Access the AppServer : Handling returned values : Accessing user-defined function return values
 

Accessing user-defined function return values

You can access the return value after running any user-defined function using the following method on the com.progress.open4gl.javaproxy.ParamArray object:
Syntax
public Object getReturnValue()
You need to cast the return Object to the correct return type for the function. For example:
String retVal = (String)(parms.getReturnValue());
For information on accessing arrays see Arraysas return values.