shithub: mc

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