shithub: mc

ref: debd13efe12eaca072229e9859aaa6df8708a09f
dir: /test/strtab.myr/

View raw version
use std

const strtab = [
	"foo",
	"bar",
	"baz",
	"quux"
]

const main = {
	var i
	for i = 0; i < strtab.len; i++
		std.put("{}: {}\n", i, strtab[i])
	;;
	std.exit(0)
}