aboutsummaryrefslogtreecommitdiff
path: root/docs/buzzard/demo2.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 /docs/buzzard/demo2.th
parentc0165d167d7cb40d80028bcf7a4a6b160b5a7e83 (diff)
mv to docs
Diffstat (limited to 'docs/buzzard/demo2.th')
-rw-r--r--docs/buzzard/demo2.th10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/buzzard/demo2.th b/docs/buzzard/demo2.th
new file mode 100644
index 0000000..8bf8eee
--- /dev/null
+++ b/docs/buzzard/demo2.th
@@ -0,0 +1,10 @@
+: demo2
+
+ 10 0 ( iterate from 0 stopping before 10 )
+ do
+ i . ( print the loop counter )
+ loop
+ cr ( add a newline )
+;
+
+demo2