Table of Contents

Return (Statement)

Format

In the context of a gosub and within a Subroutine:

return

In the context of a Function:

return numeric_expression
return string_expression

Description

The return statement is used with the GOSUB statement to return control to the next statement, within a SUBROUTINE to return control from the subroutine, or with a FUNCTION to return a value to the calling code.

See Also

2016/01/01 22:42

History

0.9.9.1Added to subroutine a function