shithub: mc

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