aboutsummaryrefslogtreecommitdiff
path: root/clear-prev-cells.bf
diff options
context:
space:
mode:
Diffstat (limited to 'clear-prev-cells.bf')
-rw-r--r--clear-prev-cells.bf12
1 files changed, 12 insertions, 0 deletions
diff --git a/clear-prev-cells.bf b/clear-prev-cells.bf
new file mode 100644
index 0000000..faea608
--- /dev/null
+++ b/clear-prev-cells.bf
@@ -0,0 +1,12 @@
+> # to 2nd cell
++. # inc and print
+> # move to 3rd cell
+++. # set 3rd cell to 2 and print
+> # move to 4th cell
++++. # set 4th cell to 3 and print
+
+[[-]] # set to zero 2nd, 3th and 4th cells
+
+
+.>.>. # print 2nd, 3th and 4th cells
+