summaryrefslogtreecommitdiff
path: root/test/strtab.myr
blob: 115efca484ff1cc050402cc9d7101293c9088ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
}