[atoi] did the job, thank you.<br><br><br>Ricardo<br><br><br><div class="gmail_quote">2009/4/16 Frank Barknecht <span dir="ltr">&lt;<a href="mailto:fbar@footils.org">fbar@footils.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hallo,<br>
<div class="im">Ricardo Due?as Parada hat gesagt: // Ricardo Due?as Parada wrote:<br>
<br>
&gt; I am working with osc, and i have to send messages to pd, I am using<br>
&gt; OSCroute to route messages.<br>
&gt;<br>
&gt; Next is happening to me: where i should be receiving the variable, i get<br>
&gt; this on the pd console:<br>
&gt; error: gatom: no method for &#39;1&#39;<br>
&gt;<br>
&gt;  The message is something like    /route/1<br>
&gt;<br>
&gt; I guess that the number is being mapped as a symbol and not a number, how<br>
&gt; can I convert it?<br>
<br>
</div>Probably that&#39;s the reason. You can convert number-symbols to integers with<br>
[atoi] from Zexy, or alternatively rewrite your OSC receiver setup to something<br>
like &quot;/route/one&quot; or put the number into the data part of the OSC message i.e. &quot;/route 1&quot;<br>
<br>
Ciao<br>
--<br>
<font color="#888888">Frank<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>