break
Returns immediately from a loop.
Syntax
-
break([n])
-
n
is a positive integer
-
Description
break(n)
immediately returns from the closest n
loops (ForEach
, for
, while
, until
, or repeat
). If omitted, n
defaults to 1
, so that only the innermost loop is terminated.