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 interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 14:46, 27 January 2008 edit75.16.114.249 (talk)No edit summary← Previous edit Latest revision as of 01:35, 10 January 2021 edit undoApokrif (talk | contribs)Extended confirmed users, Pending changes reviewers28,484 edits Changed redirect target from BASIC to BASIC#Program flow controlTag: Redirect target changed 
(33 intermediate revisions by 27 users not shown)
Line 1: Line 1:
#REDIRECT ]
'''GOSUB''' is a command in many versions of ]. GOSUB statements branch to simple kinds of ] without (sometimes with) parameters or local variables, the ] command resuming program flow from the point at which GOSUB was invoked.
]

{{R from subtopic}}
The GOSUB command is convenient for performing the same function several times in a BASIC program without duplicating the code. Some BASIC implementations, such as ] do not implement GOSUB. This may lead to overuse of the ] statement and to less structured code.
{{Rwh}}

{{compu-lang-stub}}
]

Latest revision as of 01:35, 10 January 2021

Redirect to:


  • With history: This is a redirect from a page containing substantive page history. This page is kept as a redirect to preserve its former content and attributions. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated), nor delete this page.
    • This template should not be used for redirects having some edit history but no meaningful content in their previous versions, nor for redirects created as a result of a page merge (use {{R from merge}} instead), nor for redirects from a title that forms a historic part of Misplaced Pages (use {{R with old history}} instead).
Category:
GOSUB: Difference between revisions Add topic