Revision as of 04:18, 28 May 2007 editRCX (talk | contribs)1,242 editsm Added to category← Previous edit | Revision as of 04:21, 28 May 2007 edit undoRCX (talk | contribs)1,242 editsm Does not have to be in this category because I put it in BASIC commands categoryNext edit → | ||
Line 3: | Line 3: | ||
{{compu-lang-stub}} | {{compu-lang-stub}} | ||
] | ] | ||
] |
Revision as of 04:21, 28 May 2007
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. |