Label

Label[tag]

represents a point in a compound expression to which control can be transferred using Goto.

Details

Examples

Basic Examples  (1)

Write a loop using Goto and Label:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

See Also

Catch

Tutorials

Introduced in 1988
(1.0)