import scala.util.control.Breaks._ for (;;) { if (something) break; }But this is discouraged. Still no "continue" keyword.
Programming Tips - How can I break out of a loop?
Date: 2013aug27
Language: Scala
Q. How can I break out of a loop?
A. Scala 2.8 added the "break" keyword. Example use: