shithub: mc

ref: 96c8217e913d8d6de22bbb1aa3624c26e66838fc
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("%i: %s\n", i, strtab[i])
	;;
	std.exit(0)
}