From d6a3c724a55638097edd38db6bcc2e5c50217c98 Mon Sep 17 00:00:00 2001 From: Igor Date: Sun, 17 Jan 2010 21:37:57 +0300 Subject: More examples --- copy-cell.bf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 copy-cell.bf (limited to 'copy-cell.bf') diff --git a/copy-cell.bf b/copy-cell.bf new file mode 100644 index 0000000..d943142 --- /dev/null +++ b/copy-cell.bf @@ -0,0 +1,15 @@ +# copy (1) to (2) using (3) + ++++++ # set (1) = 5 + +.>.< # show (1) and (2) + +[->+>+<<] # set (3) = (2) = (1) and (1) = 0 + +.>.>. # show (1), (2) and (3) + +[-<<+>>] # set (1) = (3) (initial) and (3) = 0 + +<< # got to (1) +.>.>. # show (1), (2) and (3) + -- cgit v1.2.3