Untitled

Run Settings
LanguageScala
Language Version
Run Command
import scala.util.control._ object Main { def main(args: Array[String]) { var a = 0; val numList = List(1,2,3,4,5,6,7,8,9,10); val loop = new Breaks; loop.breakable { for( a <- numList){ println( "Value of a: " + a ); if( a == 4 ){ loop.break; } } } println( "After the loop" ); } }
Editor Settings
Theme
Key bindings
Full width
Lines