IF: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
New page: 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 ...
 
JefD (talk | contribs)
No edit summary
 
Line 1: Line 1:
IF
'''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:
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:

Latest revision as of 17:21, 26 September 2007

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