routepass bug or feature?

Nov 16, 2011 at 5:08am

routepass bug or feature?

I was expecting that when the new routepass object was given a single number as input to match against, that number is output. seems though that a bang is sent instead…
Is this a feature or a bug?

Thanks for any clarifications…


– Pasted Max Patch, click to expand. –
Nov 16, 2011 at 7:43am

With [prepend list] it does work. Seems that only lists (and symbols) can be routed.

– Pasted Max Patch, click to expand. –
Nov 17, 2011 at 1:23am

interesting. kind of makes sense now that you point it out… but only kind of. wonder if this is on purpose and if so, what the thought behind the decision was…


Nov 17, 2011 at 6:13am

could you instead use [match]?

Nov 17, 2011 at 10:13am

It’s more a bug than a feature. it’ll be fixed for the next incremental. Thanks for the clear example.

Nov 17, 2011 at 2:54pm

oops, didn’t look at your patch…

I guess you can’t use [match] because you can only use one number per [match] object (otherwise you would be matching a list instead of individual numbers).

If you wanted separate numbers to match, you’d need separate [match] objects.

Nov 17, 2011 at 6:13pm

thanks for the clarification Emmanuel!


You must be logged in to reply to this topic.