IF
Category: Statement
Syntax: IF boolean_expr THEN statement
IF boolean_expr THEN
...
[ELSE]
...
ENDIF
Description
Evaluates a condition and branches execution. Tiny Basic for Arduino supports both a single-line IF-THEN statement and a multi-line IF-THEN-ELSE-ENDIF block.