Statement local variables

If you want your function to return two values, check the statement local variable check box; then, the last argument for your function is defined as an OUT parameter. The OUT parameter corresponds to a value the function returns indirectly, through a pointer, to a statement local variable (SLV). The value the function returns through the pointer is an extra value, in addition to the value it returns explicitly.

For more information, see the Informix® User-Defined Routines and Data Types Developer's Guide.