statement/RETURN statement/RETURN NAME RETURN -- Returns from a subroutine ABBREVIATION re <shift> T SYNOPSIS RETURN FUNCTION This statement is always used with the GOSUB statement. When the program encounters a RETURN statement, it goes to the statement immediately following the last GOSUB command executed. If no GOSUB was previously issued, then a RETURN WITHOUT GOSUB ERROR message is delivered, and program execution is stopped. INPUTS None RESULT Returns from a subroutine to the statement following the last subroutine call (GOSUB statement). EXAMPLES None NOTES None BUGS None SEE ALSO GOSUB