Line Argument Question

Apr 16, 2012 at 12:17am

Line Argument Question

I’ve been wanting to find a way to implement arguments into the [line] object in real time but i’m having a major issue trying to add a comma into the argument. So essentially i’m trying to group together a statement that will add the comma (ex. 0, 50 10000) but every time I try to combine an int that has a comma attached, it will disappear. I attached the patch to this point and hopefully someone can help me out with this. Thanks for reading!

Attachments:
  1. LineComma.maxpat
#62994
Apr 16, 2012 at 12:39am

The comma to separate messages is only meaningful in a message box, and separates one message from another. So “2426, 2082 3536″ in a message box is really just two separate messages: “2426″ followed immediately by “2082 3536″ (or, more exactly, “int 2426″ followed by “list 2082 3536″). You may have known that already, but the point is that you don’t need to assemble them in a message box; you can just send those two messages separately, one immediately after the other, and the effect will be the same.

#227356
Apr 16, 2012 at 2:24am

There I go overworking again! This works perfectly for what I want to do. Thank you for responding and saving me time :)

#227357
Apr 17, 2012 at 3:17am

use one of the 2 examples

– Pasted Max Patch, click to expand. –
#227358
Apr 17, 2012 at 3:19am

the “,” will append a comma after the first variable or value in a message

#227359

You must be logged in to reply to this topic.