val test as int = 10; switch test { case 1 : println("yay"); break; case 10 : println("yo"); case 100 : println("y"); default: println("yup"); } val test2 as string = "hello"; switch test2 { case "bye" : println("hello"); case "hello" : println("goodbye"); default: println("hellogoodbye"); }