summaryrefslogtreecommitdiff
path: root/test/strtab.myr
blob: 6a992030973d9c12f1beba346117b95b7dd57930 (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])
	;;
	-> 0
}