<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In Flow Control Words in TurboForth Kernal
Words following ELSE will be executed if the parent IF clause evaluates to FALSE.
ELSE
IF
FALSE
: ODD/EVEN ( n -- ) CR 1 AND IF ." ODD" ELSE ." EVEN" THEN CR ;
: ODD/EVEN ( n -- ) CR 1 AND IF ." ODD" ELSE ." EVEN" THEN
;
none