IF

From Compost Wiki
Revision as of 17:21, 26 September 2007 by JefD (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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