diff options
author | Liam Cooke <14365947+ljcooke@users.noreply.github.com> | 2023-12-14 14:48:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 15:48:02 +0100 |
commit | 2f670a5a965b2296431e8634938ed85ffa8f0375 (patch) | |
tree | abbb53d4dfbdb0d657a6d92bff309c964800d82f /forth.html.markdown | |
parent | 51cbfef614eb0816cc376c19534a08e0e6c98943 (diff) |
[forth/en] Fix expected result for one-to-12 loop (#4049)
Diffstat (limited to 'forth.html.markdown')
-rw-r--r-- | forth.html.markdown | 2 |
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. |