shithub: mc

ref: d7651f741ddd7b3db322a726a0499642d3c5fbec
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)
}