Revision as of 16:10, 2 April 2009 editRwxrwxrwx (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Rollbackers28,207 edits +context← 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 | ||
(28 intermediate revisions by 23 users not shown) | |||
Line 1: | Line 1: | ||
#REDIRECT ] | |||
'''GOSUB''' is a command in many versions of the ] computer ]. GOSUB statements branch to simple kinds of ] without (sometimes with) parameters or local ], the ] command resuming ] from the point at which GOSUB was invoked. The GOSUB command is convenient for performing the same function several times in a BASIC program without duplicating the code.<ref>{{cite web|url=http://www.qbasicnews.com/qboho/qckadvr.gosubr.shtml|title=GOSUB...RETURN Statement Details.|date=1988|accessdate=2008-07-04|author=|publisher=]}}</ref> | |||
⚫ | ] | ||
{{R from subtopic}} | |||
Not all BASIC implementations support GOSUB. For example, in ] it is considered as deprecated in favor of ]/FUNCTION, and is disabled by default.<ref>{{cite web|url=http://www.freebasic.net/wikka.php?wakka=KeyPgGosub|title=GOSUB|date=2008-05-08|accessdate=2008-07-04|author=|publisher=|quote="Gosub support is disabled by default in the -lang fblite unless the Option Gosub statement is used."}}</ref> | |||
{{ |
{{Rwh}} | ||
==See also== | |||
* ] | |||
==References== | |||
{{reflist}} | |||
{{compu-lang-stub}} | |||
⚫ | ] | ||
] |
Latest revision as of 01:35, 10 January 2021
Redirect to:
- From a subtopic: This is a redirect from a subtopic of the target article or section.
- If the redirected subtopic could potentially have its own article in the future, then also tag the redirect with {{R with possibilities}} and {{R printworthy}}.
- 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).