Misplaced Pages

GOSUB: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 01:46, 22 April 2006 editKaraken12 (talk | contribs)66 editsm Link formatting.← Previous edit Revision as of 20:56, 10 March 2007 edit undo85.75.150.221 (talk)No edit summaryNext edit →
Line 1: Line 1:
'''GOSUB''' is a command in many versions of ], which should always be accompanied by the ] 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 ] loops. '''GOSUB''' is a command in many versions of ], which should always be accompanied by the ] 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 ] loops.
Programmers don't die, they just GOSUB without RETURN.


{{compu-lang-stub}} {{compu-lang-stub}}

Revision as of 20:56, 10 March 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. Programmers don't die, they just GOSUB without RETURN.

Stub icon

This programming-language-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: