Indeed the number was not in the stream. I was changing the number with the mouse which does not produce all the numbers in the serie.<br><br>Thank you<br><br><div class="gmail_quote">On Fri, Nov 13, 2009 at 2:38 PM, Martin Schied <span dir="ltr">&lt;<a href="mailto:crinimal@gmx.net">crinimal@gmx.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<br>
Konstantinos Benardis wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi list<br>
<br>
I want to trigger a bang when a specific number occurs in a serie of running numbers for example from the output of a line object. I use the [== ] object to lookup but the object wont work if the numbers are running too fast. What could be the problem? Is there another way to do the lookup?<br>


<br>
</blockquote></div>
hi!<br>
<br>
this could have several reasons:<br>
<br>
- if you are using graphical bangs they don&#39;t blink when triggered at high rates<br>
<br>
- possibly be the number doesn&#39;t appear in the stream - try to use &quot;print&quot; and look if the number is actually there. the line object only outputs some numbers between its start and end. if you want to have all integer numbers between start and end you could use counters, see attached patch.<br>


<br>
- the value is a float value and doesnt exactly match the value to be compared with, even when displayed as equal when using a number to display them. to solve this either use an [int] object before comparing the numbers or give a range, for example to compare 4 and 4.000000001 to be &quot;equal&quot; you could use 4 - 4.000000001 &lt;= 0.001<br>


<br>
cheers,<br><font color="#888888">
martin<br>
</font></blockquote></div><br>