shithub: mc

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