Conditional statements.
if <true> else <false> then
if <true> then
Pops a value from the stack, if non-zero execute the true case. Otherwise execute the false case if any. In Haiku Forth, the data-stack and return-stack depth in both cases of the conditional must remain the same.
Examples: