aboutsummaryrefslogtreecommitdiff
path: root/clear-prev-cells.bf
blob: faea6087d8afa6fcea08a4589bcfab150e207fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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