[forth/en] Fix expected result for one-to-12 loop (#4049)

This commit is contained in:
Liam Cooke 2023-12-14 14:48:02 +00:00 committed by GitHub
parent 51cbfef614
commit 2f670a5a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.