shithub: mc

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