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 editContent deleted Content addedVisualWikitext
Revision as of 22:06, 19 August 2007 edit86.153.9.140 (talk) coherence← Previous edit Latest revision as of 01:35, 10 January 2021 edit undoApokrif (talk | contribs)Extended confirmed users, Pending changes reviewers28,430 edits Changed redirect target from BASIC to BASIC#Program flow controlTag: Redirect target changed 
(35 intermediate revisions by 29 users not shown)
Line 1: Line 1:
#REDIRECT ]
'''GOSUB''' is a command in many versions of ]. GOSUB statements branch to simple kinds of subroutines 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. It is not implemented in all versions of BASIC, which can lead to cumbersome ] loops.
{{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: