The first paragraph of route-help states:

"which maybe numbers or symbols (but not a mixture of the two unless the datatypes are defined explicitly)"

Its the answer.
See the help patch.

On Sun, Feb 27, 2011 at 10:40 PM, Jack <jack@rybn.org> wrote:
This is not a bug.
Just do something like this to avoid any problem :

[route number number number ...]/[route word word word ...]
++

Jack



Le dimanche 27 février 2011 à 22:46 +0200, rene beekman a écrit :
> I'm preparing some patches for courses that I teach and I noticed
> behaviour in [route] that I found unexpected or at least inconsistent.
>
>
> Attached is a patch that demonstrates the problem.
>
>
> In short: when mixing types of arguments for [route], the object will
> fail to properly route a float if the float is preceded by a symbol
> argument.
> For example:
> [route 12 nobug] will route 12 properly
> [route bug 12] will send any incoming 12 to its last ('undefined')
> output
>
>
> This is with Pd Extended 0.42.5 on Mac OS 10.6.6
>
>
> Is this a bug or am I overlooking something?
>
>
> Rene
>
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




--
Pedro Lopes (MSc)
contact: pedro.lopes@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch