summaryrefslogtreecommitdiff
path: root/arrays.prn
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-09-09 22:06:32 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-09-09 22:20:10 +0200
commit0711be4f145b3d74bc90658dd71d186716e6a72c (patch)
tree5077e1e0efb9ecf99aa8314387ce18e9159d36ae /arrays.prn
parent79c4014fd2852d12b2489184f53da40247452b8a (diff)
Add arrays to Postrun
Diffstat (limited to 'arrays.prn')
-rw-r--r--arrays.prn13
1 files changed, 13 insertions, 0 deletions
diff --git a/arrays.prn b/arrays.prn
new file mode 100644
index 0000000..2dc7d43
--- /dev/null
+++ b/arrays.prn
@@ -0,0 +1,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