◄Summary► ◄Details► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── Branches to and returns from a subroutine. For a more structured alternative to GOSUB...RETURN subroutines, use SUB and FUNCTION statements. GOSUB line-label-to . . . RETURN [line-label-resume] ■ line-label-to Line number or label of the first line of the subroutine ■ line-label-resume Line number or label where the subroutine returns; if omitted, execution continues at the statement following the GOSUB keyword See Also ◄CALL Statement (Basic Procedures)► ◄FUNCTION Statement► ◄Loops and Decision Structures► ◄SUB Statement►