IF

From Compost Wiki
Jump to navigation Jump to search

IF

Controls logical "branching" within a Prog. If the boolean following the IF is true, any commands (including nested IF statements) between the IF and its matching END are executed next. Otherwise, they are skipped. For example:

IF MultipleParts?
{commands executed only if MultipleParts? is true...}
END