Forums > MaxMSP

how do I insert commas into a list?

March 16, 2009 | 12:17 pm

Hi folks,

I’ve scoured the archive and checked documentation but can’t find the solution. I think sprintf will do it for me but I don’t know what syntax to use.

I get a list from a function object but I need to insert commas between each element of the list. How might I do this?

Thanks in advance.


March 16, 2009 | 12:27 pm

Use a backslash to escape the comma like in the example below.

lh

– Pasted Max Patch, click to expand. –

March 16, 2009 | 12:53 pm

thanks hope, you make me happy.


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