Receiving information from a subroutine or function
Although a subroutine or function can receive up to 20
arguments,
it can
specify only one expression on the RETURN instruction. That expression
can be:
- A number
RETURN 55 - One or more variables whose values are substituted (or their names
if no values have been assigned).
RETURN value1 value2 value3 - A literal string
RETURN 'Work complete.' - An arithmetic, comparison, or logical expression whose value is
substituted.
RETURN 5 * number