Misplaced Pages

GOSUB: Difference between revisions

Article snapshot taken from[REDACTED] 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 interactivelyNext edit โ†’Content deleted Content addedVisualWikitext
Revision as of 02:24, 21 July 2005 editZotel (talk | contribs)Extended confirmed users4,716 edits Initial Entryย  Revision as of 02:24, 21 July 2005 edit undoZotel (talk | contribs)Extended confirmed users4,716 editsm oops, forgot the stubNext edit โ†’
Line 1: Line 1:
'''GOSUB''' is a command in many versions of ], which should always be accompanied by the ]. 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 ]. 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.

{{compu-lang-stub}}

Revision as of 02:24, 21 July 2005

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 (command) loops.

Stub icon

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

Category:
GOSUB: Difference between revisions Add topic