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: