// version 1.0.6 fun main(args: Array) { val problem = true if (problem) System.exit(1) // non-zero code passed to OS to indicate a problem println("Program terminating normally") // this line will not be executed }