summaryrefslogtreecommitdiff
path: root/arrays.prn
blob: 2dc7d4360a1fe6ce3deaf0030e4b009bf690ed8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
mkarray
1 "i" store
i 11 < while
	i +
	i 1 + "i" store
i 11 < end
stackdump
0 "i" store
i 10 < while
	"Array index " i + ": " + print
	i arridx print lf
	i 1 + "i" store
i 10 < end