The RETURN statement returns a single integer value to the calling environment, causing an immediate exit from the procedure.
Prerequisites
There are no prerequisites for this task.
Execute the following statement:
RETURN expression |
The value of the supplied expression is returned to the calling environment. Use an extension of the CALL statement to save the return value in a variable:
CREATE VARIABLE returnval INTEGER; returnval = CALL variable/procedure-name? myproc(); |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |