AND: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
No edit summary
Jeffm (talk | contribs)
No edit summary
 
Line 5: Line 5:
:[[IF]] [[MultipleParts]]? AND [[AllToolsOnePart]]?
:[[IF]] [[MultipleParts]]? AND [[AllToolsOnePart]]?


::{commands executed only if aall are true...}
::{commands executed only if all are true...}


:[[END]]
:[[END]]


[[Category:Modifiers]]
[[Category:Modifiers]]

Latest revision as of 17:03, 20 February 2015

AND

A logical operator used to evaluate multiple boolean expressions. If all of the booleans connected by AND's are true, the IF statement itself is true the enclosed commands will be executed. Otherwise the IF statement is false, and control "falls through" to its matching END statement, or its optional ELSE statement.

IF MultipleParts? AND AllToolsOnePart?
{commands executed only if all are true...}
END