Forums > MaxMSP

[coll] [function] strange behavior

June 18, 2013 | 7:30 pm

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. –

June 18, 2013 | 9:14 pm

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>


June 18, 2013 | 9:18 pm

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


Viewing 3 posts - 1 through 3 (of 3 total)