In the context of a gosub and within a Subroutine:
return
In the context of a Function:
return numeric_expression
return string_expression
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.
0.9.9.1 | Added to subroutine a function |