Flow-control structures: Difference between revisions

→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
m (→‎The basic: GO TO label: with details, however.)
(→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details)
Line 983:
 
Here are some examples:
<lang scala>// version 1.0.6 (packaged as Control_flow.jar)
 
fun main(args: Array<String>) {
Line 994:
}
println()
if (args.size > 0isNotEmpty()) throw IllegalArgumentException("No command line arguments should be supplied")
println("Goodbye!") // won't be executed
}</lang>