<?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[Simple logic issue]]></title><description><![CDATA[<p>Still having a lot of trouble understanding how the logic in this program works.<br />
I was hoping that...<br />
[0 \ ...if this number...<br />
| \<br />
| \<br />
[== 1] [== 2] ...is turned to 1 or 2...<br />
| |<br />
[12 ( [0 (<br />
| |<br />
\ /<br />
[0 \ ... this number should either be 12 or 0</p>
<p>this doesn't work.<br />
This is one of multiple iterations of this wiring that just doesn't seem to work. I'm guessing this is a fairly simple logic issue that i am totally misunderstanding... would anyone be able to correct my error?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 09:52:18 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/8422.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jun 2014 06:42:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Simple logic issue on Wed, 04 Jun 2014 06:42:58 GMT]]></title><description><![CDATA[<p>Still having a lot of trouble understanding how the logic in this program works.<br />
I was hoping that...<br />
[0 \ ...if this number...<br />
| \<br />
| \<br />
[== 1] [== 2] ...is turned to 1 or 2...<br />
| |<br />
[12 ( [0 (<br />
| |<br />
\ /<br />
[0 \ ... this number should either be 12 or 0</p>
<p>this doesn't work.<br />
This is one of multiple iterations of this wiring that just doesn't seem to work. I'm guessing this is a fairly simple logic issue that i am totally misunderstanding... would anyone be able to correct my error?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue</guid><dc:creator><![CDATA[AWilliams]]></dc:creator><pubDate>Wed, 04 Jun 2014 06:42:58 GMT</pubDate></item><item><title><![CDATA[Reply to Simple logic issue on Wed, 04 Jun 2014 09:51:48 GMT]]></title><description><![CDATA[<p>Connect a [print] object to the output of one of the [==] objects to see what it is doing, or read the help file.</p>
<p>If your number is equal to 1, then it outputs 1, otherwise it outputs 0. You also need to familiarise yourself with execution order - look at the [trigger] helpfile.</p>
<p>However, you might be better off using [select] as follows:</p>
<p>[0 \<br />
|<br />
[sel 1 2 ]<br />
| |<br />
[12 ( [0 (<br />
| |<br />
| /<br />
| /<br />
| /<br />
[0 \</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue/2</guid><dc:creator><![CDATA[James]]></dc:creator><pubDate>Wed, 04 Jun 2014 09:51:48 GMT</pubDate></item><item><title><![CDATA[Reply to Simple logic issue on Wed, 04 Jun 2014 15:29:48 GMT]]></title><description><![CDATA[<p>Yep, that worked a lot better. Before apparently the monitor kept spitting out &quot;inlet: expected 'float' but got bang&quot; messages</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8422/simple-logic-issue/3</guid><dc:creator><![CDATA[AWilliams]]></dc:creator><pubDate>Wed, 04 Jun 2014 15:29:48 GMT</pubDate></item></channel></rss>