Hey all,<br><br>I&#39;m stuck.<br><br>I have a sensor which is spitting out numbers between 1-180.<br><br>Each number triggers an event that I only want to happen once but the sensor repeats numbers every so often.<br><br>
What I require is to have my numbers in &#39;something&#39;, so that if that number has already been used I want Pd to say - &#39;hey&#39; and then allow me to change that number until we find one that hasn&#39;t been used?<br>
<br>I have spent the last couple of hours working with my numbers in a message box and using [list-delete].  I think it must be my usage because it&#39;s behaving very erratically (patch attached).  If someone could tell me what I&#39;m doing wrong with this and then maybe I/we can get onto the main problem - which is; what should/can I use that will tell me if a number has already been used and spit it back at me so I can do some maths stuff to change to a different number that hasn&#39;t been used already.<br>
<br>Best wishes,<br><br>Julian<br><br>W7 PDE (latest)<br>