<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Multiple AND&#x2F;OR cases within an if statement]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">How can add multiple AND/OR cases within an if statement? See image. I only can add one AND within an if statement but I want to have more.  <img src="/assets/uploads/files/1608546158333-bildschirmfoto-2020-12-21-um-08.59.29-resized.png" alt="0_1608546156682_Bildschirmfoto 2020-12-21 um 08.59.29.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Any hints?</p>
<p dir="auto">Thanks,<br />
Mathias</p>
]]></description><link>https://community.m5stack.com/topic/2632/multiple-and-or-cases-within-an-if-statement</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 07:44:19 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2632.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Dec 2020 10:24:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple AND&#x2F;OR cases within an if statement on Mon, 28 Dec 2020 22:34:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dario" aria-label="Profile: dario">@<bdi>dario</bdi></a> Thanks!</p>
]]></description><link>https://community.m5stack.com/post/11405</link><guid isPermaLink="true">https://community.m5stack.com/post/11405</guid><dc:creator><![CDATA[mathias]]></dc:creator><pubDate>Mon, 28 Dec 2020 22:34:23 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple AND&#x2F;OR cases within an if statement on Thu, 24 Dec 2020 07:15:04 GMT]]></title><description><![CDATA[<p dir="auto">The following example is this expression:<br />
<code>(var1 &gt; 50 and var1 &lt; 70) and (var2 &gt; 10 and var2 &lt; 20) and (var3 &gt; 30 or var4 &gt; 50)</code></p>
<h3>Step 1</h3>
<p dir="auto"><img src="/assets/uploads/files/1608793996108-7dd9e324-92c4-4167-be44-f0dd11539616-image-resized.png" alt="0_1608793993460_7dd9e324-92c4-4167-be44-f0dd11539616-image.png" class=" img-fluid img-markdown" /></p>
<h3>Step 2</h3>
<p dir="auto"><img src="/assets/uploads/files/1608794030534-92d2b768-412e-41b2-a7e6-608459678563-image-resized.png" alt="0_1608794028390_92d2b768-412e-41b2-a7e6-608459678563-image.png" class=" img-fluid img-markdown" /></p>
<h3>Step3</h3>
<p dir="auto"><img src="/assets/uploads/files/1608794048991-a7a577ad-7a61-445f-8815-7bfd2f3d86ce-image-resized.png" alt="0_1608794046841_a7a577ad-7a61-445f-8815-7bfd2f3d86ce-image.png" class=" img-fluid img-markdown" /></p>
<h3>Step 4</h3>
<p dir="auto"><img src="/assets/uploads/files/1608794073543-723ac24a-30ed-4191-95a8-d5c1a59248b5-image-resized.png" alt="0_1608794071374_723ac24a-30ed-4191-95a8-d5c1a59248b5-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/11368</link><guid isPermaLink="true">https://community.m5stack.com/post/11368</guid><dc:creator><![CDATA[Dario]]></dc:creator><pubDate>Thu, 24 Dec 2020 07:15:04 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple AND&#x2F;OR cases within an if statement on Wed, 23 Dec 2020 09:23:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dario" aria-label="Profile: dario">@<bdi>dario</bdi></a> exactly the way you show in your example above.</p>
]]></description><link>https://community.m5stack.com/post/11359</link><guid isPermaLink="true">https://community.m5stack.com/post/11359</guid><dc:creator><![CDATA[mathias]]></dc:creator><pubDate>Wed, 23 Dec 2020 09:23:05 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple AND&#x2F;OR cases within an if statement on Wed, 23 Dec 2020 08:56:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathias" aria-label="Profile: mathias">@<bdi>mathias</bdi></a> can you please write the logic expression that you want to code in UIFlow?</p>
<p dir="auto">Example:<br />
<code>(var1 &gt; 50 and var1 &lt; 70) and (var2 &gt; 10 and var2 &lt; 20) and (var3 &gt; 30 or var4 &gt; 50)</code></p>
]]></description><link>https://community.m5stack.com/post/11355</link><guid isPermaLink="true">https://community.m5stack.com/post/11355</guid><dc:creator><![CDATA[Dario]]></dc:creator><pubDate>Wed, 23 Dec 2020 08:56:17 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple AND&#x2F;OR cases within an if statement on Mon, 21 Dec 2020 20:59:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dario" aria-label="Profile: dario">@<bdi>dario</bdi></a> Thanks for your reply. It's close to what I'm looking for. But I want to add another AND case within the if statement on the level where the arrows are.</p>
<p dir="auto"><img src="/assets/uploads/files/1608584273530-bildschirmfoto-2020-12-21-um-21.55.12-resized.png" alt="0_1608584272024_Bildschirmfoto 2020-12-21 um 21.55.12.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/11331</link><guid isPermaLink="true">https://community.m5stack.com/post/11331</guid><dc:creator><![CDATA[mathias]]></dc:creator><pubDate>Mon, 21 Dec 2020 20:59:03 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple AND&#x2F;OR cases within an if statement on Mon, 21 Dec 2020 18:48:04 GMT]]></title><description><![CDATA[<p dir="auto">I don't exactly know what you would like to do, but you can do something like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1608561322476-26b23538-3e72-4e79-8f44-ffa389bc809f-image-resized.png" alt="0_1608561309057_26b23538-3e72-4e79-8f44-ffa389bc809f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">or like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1608561341259-6e2086e1-ad1c-4ae0-85be-a58be76daa68-image.png" alt="0_1608561336184_6e2086e1-ad1c-4ae0-85be-a58be76daa68-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/11329</link><guid isPermaLink="true">https://community.m5stack.com/post/11329</guid><dc:creator><![CDATA[Dario]]></dc:creator><pubDate>Mon, 21 Dec 2020 18:48:04 GMT</pubDate></item></channel></rss>