This is an old revision of this page, as edited by RCX (talk | contribs) at 04:18, 28 May 2007 (Added to category). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 04:18, 28 May 2007 by RCX (talk | contribs) (Added to category)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)GOSUB is a command in many versions of BASIC, which should always be accompanied by the RETURN command. GOSUB statements branch to simple kinds of subroutines without (sometimes with) parameters or local variables. It is convenient for performing the same function in BASIC programs without duplicating the same code repeatedly. It is not implemented in all versions of BASIC, which can create cumbersome GOTO loops.
This programming-language-related article is a stub. You can help Misplaced Pages by expanding it. |