Forth · Lesson 5

Flags and conditionals: if else then

Compare with = < > 0=, combine flags with and or invert, and branch with if ... else ... then inside definitions.

Lessons · Forth · Lesson 5 of 10

Flags and conditionals: if else then

Compare with = < > 0=, combine flags with and or invert, and branch with if ... else ... then inside definitions.

Illustration for Forth
Compare with = < > 0=, combine flags with and or invert, and branch with if ... else ... then inside definitions.