This command will temporarily transfer control to a subroutine. The first line of that routine must be a standard line label.
GOSUB label | Required - Transfer program control to the line label. |
COMMENTS
A subroutine 'called' through this approach must use the RET (Return) command when finished. Unlike a function, no data may be returned. The program will continue with the next line after the original GOSUB (once the RET command has been executed from the subroutine).
SEE ALSO
Page url: http://www.cassoftware.com/tas/manual/gosublabel.htm