[coll] [function] strange behavior

Jun 18, 2013 at 7:30pm

[coll] [function] strange behavior

When I send xyc 0 0 0., xyc 127 127 0. to a [function] object using a message box all is well. When I send send “xyc 0 0 0., xyc 127 127 0.” from [coll]>[route symbol]>[fromsymbol]>function the Max Window says “wrong argument for message xyc.”
Why?
OXs 10.6.8, Max 6.1.2

– Pasted Max Patch, click to expand. –
#253202
Jun 18, 2013 at 9:14pm

The problem is in the use of the comma. The comma is shorthand to a message object to break itself into multiple messages. [function] knows nothing about commas.

<code>

– Pasted Max Patch, click to expand. –

</code>

#253207
Jun 18, 2013 at 9:18pm

Yes indeed, your version accomplished the goal.
Somehow never tripped over objects not parsing commas.
Thanks for the tip!

#253208

You must be logged in to reply to this topic.