RETURN - source-solutions/HELP GitHub Wiki

RETURN


RETURN [line]

Returns from a GOSUB subroutine. If line is not specified, RETURN jumps back to the statement after the GOSUB that jumped into the subroutine. If line is specified, it must be a valid line number. RETURN jumps to that line (and pops the GOSUB stack). When returning from an error trapping routine, RETURN re- enables the event trapping which was stopped on entering the trap routine.

Errors

line is not an existing line number: Undefined line number.

⚠️ **GitHub.com Fallback** ⚠️