<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://smartbox.benryves.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=IF</id>
	<title>IF - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://smartbox.benryves.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=IF"/>
	<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=IF&amp;action=history"/>
	<updated>2026-11-15T02:28:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://smartbox.benryves.com/mediawiki/index.php?title=IF&amp;diff=51&amp;oldid=prev</id>
		<title>Benryves: Created page with &quot;== 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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=IF&amp;diff=51&amp;oldid=prev"/>
		<updated>2023-10-06T19:17:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== 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 &lt;a href=&quot;/mediawiki/index.php?title=ELSE&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ELSE (page does not exist)&quot;&gt;ELSE&lt;/a&gt; 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 ==  * &lt;a href=&quot;/mediawiki/index.php?title=THEN&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;THEN (page does not exist)&quot;&gt;THEN&lt;/a&gt; * &lt;a href=&quot;/mediawiki/index.php?title=ELSE&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;ELSE (page does not exist)&quot;&gt;ELSE&lt;/a&gt;  Category:Re...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
IF condition THEN action ELSE action&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The IF command is used to test for a certain condition and then perform an action.&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
 IF SENSOR 1 IS ON THEN FORWARD A&lt;br /&gt;
&lt;br /&gt;
 IF SENSOR A IS GREATER THAN 128 THEN SWITCH ON 1 ELSE SWITCH OFF 1&lt;br /&gt;
&lt;br /&gt;
== Associated keywords ==&lt;br /&gt;
&lt;br /&gt;
* [[THEN]]&lt;br /&gt;
* [[ELSE]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
[[Category:Procedure]]&lt;/div&gt;</summary>
		<author><name>Benryves</name></author>
	</entry>
</feed>