From da312e375eb0a0758a4dd72e287d3aba86c04d99 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 10 Jun 2017 23:18:31 +0200 Subject: Add FIRST & THIRD almost FORTH --- buzzard/demo2.th | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 buzzard/demo2.th (limited to 'buzzard/demo2.th') diff --git a/buzzard/demo2.th b/buzzard/demo2.th new file mode 100644 index 0000000..8bf8eee --- /dev/null +++ b/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 -- cgit v1.2.3