IF: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 October 2023

  • curprev 19:1719:17, 6 October 2023‎ Benryves talk contribs‎ 507 bytes +507‎ Created page with "== Syntax == IF condition THEN action ELSE action == Description == The IF command is used to test for a certain condition and then perform an action. The command can be extended using the word ELSE to perform one action if the condition is true or another if the condition is false. == Examples == IF SENSOR 1 IS ON THEN FORWARD A IF SENSOR A IS GREATER THAN 128 THEN SWITCH ON 1 ELSE SWITCH OFF 1 == Associated keywords == * THEN * ELSE Category:Re..."