summaryrefslogtreecommitdiff
path: root/arrays.prn
diff options
context:
space:
mode:
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