Forth · Lesson 6

Loops: do loop, ?do, +loop, begin until, while

Count with do ... loop and the index i, step with +loop, skip empty ranges with ?do, and loop on conditions with begin.

Lessons · Forth · Lesson 6 of 10

Loops: do loop, ?do, +loop, begin until, while

Count with do ... loop and the index i, step with +loop, skip empty ranges with ?do, and loop on conditions with begin.

Illustration for Forth
Count with do ... loop and the index i, step with +loop, skip empty ranges with ?do, and loop on conditions with begin.