Forums > MaxMSP

avoiding space in messages


November 15, 2010 | 11:36 am

Hi all, it’s probably very simple. I have this problem since the beginning, it’s time to solve it. How do you have arguments in messages ($1) without a space between the value and the preceding text?
e.g. (set buffer $1) to create dynamic name for buffers
Alberto

November 15, 2010 | 11:48 am

hi,

you can use sprintf.

g

November 15, 2010 | 11:49 am

To create a symbol with spaces inside, just enclose the text with "double quotation marks", otherwise max will treat it as a list.


t
November 15, 2010 | 12:03 pm

i use combine:

— Pasted Max Patch, click to expand. —
November 15, 2010 | 12:36 pm

fantastic combine work and also sprintf, i feel much better now!
A

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

Forums > MaxMSP