WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

Goto [tag]

scans for Label [tag], and transfers control to that point.

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Tech Notes
Related Guides
History
Cite this Page

Goto [tag]

scans for Label [tag], and transfers control to that point.

Details

  • Goto first scans any compound expression in which it appears directly, then scans compound expressions that enclose this one.

Examples

Basic Examples  (1)

Write a loop using Goto and Label :

See Also

Throw   Switch   Which   Break   Continue

History

Introduced in 1988 (1.0) | Updated in 1996 (3.0)

Wolfram Research (1988), Goto, Wolfram Language function, https://reference.wolfram.com/language/ref/Goto.html (updated 1996).

Text

Wolfram Research (1988), Goto, Wolfram Language function, https://reference.wolfram.com/language/ref/Goto.html (updated 1996).

CMS

Wolfram Language. 1988. "Goto." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/Goto.html.

APA

Wolfram Language. (1988). Goto. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Goto.html

BibTeX

@misc{reference.wolfram_2025_goto, author="Wolfram Research", title="{Goto}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Goto.html}", note=[Accessed: 06-January-2026]}

BibLaTeX

@online{reference.wolfram_2025_goto, organization={Wolfram Research}, title={Goto}, year={1996}, url={https://reference.wolfram.com/language/ref/Goto.html}, note=[Accessed: 06-January-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /