<div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">It seems this could be an issue in how the object parses integers and strings</blockquote><div><br></div><div>Sorry yep I meant symbols instead of strings there :)<br><br></div><div>Thanks for the fix Frank!<br><br>Cheers,<br>Joe <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 October 2014 14:40, Frank Barknecht <span dir="ltr"><<a href="mailto:fbar@footils.org" target="_blank">fbar@footils.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Joe,<br>
<br>
the "0" in the OSC address part actually is a symbol! All parts of an OSC<br>
address are strings as far as [oscparse] and [oscformat] are concerned.<br>
<br>
Try this:<br>
<br>
 [bang(<br>
 |<br>
 [oscformat 0]<br>
 |<br>
 [oscparse]<br>
 |<br>
 [print]<br>
<br>
It will print "symbol 0"!<br>
<br>
[route 0] is a [route] in "float-mode": It only routes float messages, that's<br>
why it cannot catch symbol-messahes with a numeric symbol data part.<br>
<br>
You should be able to work around this by creating a [route] in symbol-mode<br>
and feeding it a symbol-0 to the right inlet like this:<br>
<br>
                    [0(<br>
                    |<br>
                    [makefilename %d]<br>
                    |<br>
 [route DUMMY-SYMBOL]<br>
<br>
Ciao<br>
--<br>
Frank<br>
<span class=""><br>
<br>
On Mon, Oct 13, 2014 at 12:34:24PM +0100, Joe White wrote:<br>
> I noticed with the [oscparse] object that if I have an address pattern that<br>
> contains only an integer, it can't be correctly parsed by any future<br>
</span>Ciao<br>
<span class="HOEnZb"><font color="#888888">--<br>
 Frank Barknecht                                     _ ______footils.org__<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Follow me on Twitter @diplojocus
</div>