bas7qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GOSUB...RETURN Statement
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
GOSUB {linelabel1 | linenumber1}
.
.
.
RETURN [{linelabel2 | linenumber2}]
 
  ■ linelabel1 or linenumber1    The line label or line number that is the
                                 first line of the subroutine.
  ■ linelabel2 or linenumber2    The line label or line number where the
                                 subroutine returns.
 
See Also    RETURN    SUB    ON...GOSUB