aboutsummaryrefslogtreecommitdiff
path: root/buzzard/demo3.th
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2019-10-30 20:04:56 +0100
committerDimitri Sokolyuk <demon@dim13.org>2019-10-30 20:04:56 +0100
commita76977af62010a392c16010c367185e61e856ffe (patch)
tree56cf4177d5bc0e3ead781d1c60818c13b1df0f3c /buzzard/demo3.th
parentc0165d167d7cb40d80028bcf7a4a6b160b5a7e83 (diff)
mv to docs
Diffstat (limited to 'buzzard/demo3.th')
-rw-r--r--buzzard/demo3.th15
1 files changed, 0 insertions, 15 deletions
diff --git a/buzzard/demo3.th b/buzzard/demo3.th
deleted file mode 100644
index c061b74..0000000
--- a/buzzard/demo3.th
+++ /dev/null
@@ -1,15 +0,0 @@
-: printfour
-
- dup ( save the number on top of the stack )
- 4 = ( compare it to four )
- if
- " forth " ( output a string for it )
- drop ( and delete the saved value )
- else
- .
- endif
-;
-
-: demo3 10 0 do i printfour loop cr ;
-
-demo3