This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Flow Control /

Goto

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

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

FilledSmallSquare See Section 2.6.9 and Section 2.6.9.

FilledSmallSquare See also: Throw, Switch, Which.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples