From the documentation:

Use the RETURN command in a program to return control to a program or to the R> prompt.

*Options

**.varname*
Used ONLY within a Stored Procedure to return a value. The returned value will be stored in the STP_RETURN system variable. This option will return an error when used outside of a Stored Procedure. The default is text 8 characters, but if you want more, set it to a larger value.

Example:

Put test.prc as test p1 integer RETURN TEXT (30) will set the limit for the return value at 30 characters.
*
*Albert


Reply via email to