From 6f86ce7057dd7cd1b491e8f09501258822d2ea74 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 23 May 2017 17:06:09 +0200 Subject: Import j1demo --- j1demo/firmware/doc.fs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 j1demo/firmware/doc.fs (limited to 'j1demo/firmware/doc.fs') diff --git a/j1demo/firmware/doc.fs b/j1demo/firmware/doc.fs new file mode 100644 index 0000000..8b3c07d --- /dev/null +++ b/j1demo/firmware/doc.fs @@ -0,0 +1,20 @@ +( Documentation conventions JCB 14:37 10/26/10) + +meta + +: getword ( -- a u ) + begin + bl word count dup 0= + while + 2drop refill true <> abort" Failed to find word" + repeat +; + +: ================================================================ + begin + getword + nip 64 = + until +; + +target -- cgit v1.2.3