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


exits to the nearest enclosing Do, For, or While in a procedural program.
  • Continue takes effect as soon as it is evaluated, even if it appears inside other functions.
Use Continue inside a Do loop:
Use Continue inside a For loop:
Use Continue inside a While loop:
Break exits the loop:
New in 1 | Last modified in 3