ref: 3ecd3ce8929a1eb9a3632b7e4d85769d72babc9a
dir: /test/loop.myr/
use std
/* checks that loops work. exits with 45. */
const main = {
var i
var n
n = 0
for i = 0; i < 5; ++i
std.put("%i", i)
;;
for i = 0; i < 5; ++i
if i > 3
break
;;
std.put("%i", i)
;;
for i = 0; i < 10; ++i
if i < 6
continue
;;
std.put("%i", i)
;;
std.put("\n")
}