return: Return from script with an optional value
Package: language
Usage
return [value]
Parameters
- value
- An optional value returned to the invoking procedure.
Description
The return statement terminates a script and optionally returns a value to the invoking routine. Any number of return statements may be present in a script. A return statement without a value is equivalent to a bye.
Examples
return
return (j+3)
Bugs
The return value cannot currently be utilized by the invoking procedure.
See also
bye