summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLiam Cooke <14365947+ljcooke@users.noreply.github.com>2023-12-14 14:48:02 +0000
committerGitHub <noreply@github.com>2023-12-14 15:48:02 +0100
commit2f670a5a965b2296431e8634938ed85ffa8f0375 (patch)
treeabbb53d4dfbdb0d657a6d92bff309c964800d82f
parent51cbfef614eb0816cc376c19534a08e0e6c98943 (diff)
[forth/en] Fix expected result for one-to-12 loop (#4049)
-rw-r--r--forth.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/forth.html.markdown b/forth.html.markdown
index ff094017..ab0c4c3b 100644
--- a/forth.html.markdown
+++ b/forth.html.markdown
@@ -106,7 +106,7 @@ myloop
\ We can get the value of the index as we loop with `i`:
: one-to-12 ( -- ) 12 0 do i . loop ; \ ok
-one-to-12 \ 0 1 2 3 4 5 6 7 8 9 10 11 12 ok
+one-to-12 \ 0 1 2 3 4 5 6 7 8 9 10 11 ok
\ `?do` works similarly, except it will skip the loop if the end and start
\ numbers are equal.