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…

M

– Pasted Max Patch, click to expand. –
#60036
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. –
#216132
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…

thanks!

#216133
Nov 17, 2011 at 6:13am

could you instead use [match]?

#216134
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.

#216135
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.

#216136
Nov 17, 2011 at 6:13pm

thanks for the clarification Emmanuel!

#216137

You must be logged in to reply to this topic.