Programmer Guide/Command Reference/GOSUB

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 17:30, 23 March 2011 by Christian (talk | contribs) (Created page with '<code>GOSUB <var>label</var> [<var>arguments</var>]</code> :Call the local subroutine at <var>label</var> label. The call to a subroutine is like starting a macro, but instead of…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

GOSUB label [arguments]

Call the local subroutine at label label. The call to a subroutine is like starting a macro, but instead of calling a new macro source code, a copy of the calling macro is created and the execution of the copy is started at label. A subroutine must be finished with the EXIT command (= return).

Navigation menu

Personal tools