Forums > MaxMSP

Double quotes around symbol without spaces?

May 2, 2011 | 7:33 pm

Hi,

I am looking to put text with both single word and multiple word length into comment boxes using (set $1). Multiple (as a symbol) obviously has double quotes, which I want, but single does not and I cannot figure out how to get it to. I’ve tried sprintf, but they disappear once passed as a message. I know this is the format max uses, and the quotes are only needed when passing symbols with spaces, so I get why they are automatically removed, but is there a way to bypass this?

Thanks,
Eric



Ch
May 2, 2011 | 8:42 pm

Hello Eric,

you’re probably looking for that (?) :

– Pasted Max Patch, click to expand. –

`
Charles



Ch
May 2, 2011 | 8:42 pm

Hello Eric,

you’re probably looking for that (?) :

– Pasted Max Patch, click to expand. –

`
Charles


May 2, 2011 | 9:38 pm

if you would use [prepend set], this takes symbols as well as lists…


May 2, 2011 | 9:38 pm

if you would use [prepend set], this takes symbols as well as lists…



Ch
May 2, 2011 | 10:10 pm

Oh right, I forgot about the lists. As well if you don’t care about having spaces around, you can do that :

– Pasted Max Patch, click to expand. –


Ch
May 2, 2011 | 10:10 pm

Oh right, I forgot about the lists. As well if you don’t care about having spaces around, you can do that :

– Pasted Max Patch, click to expand. –

May 3, 2011 | 1:25 am

Thanks both of you for your responses. I wanted to avoid the spaces if possible, but it’s not that big of a deal.

Best,
Eric


May 3, 2011 | 1:25 am

Thanks both of you for your responses. I wanted to avoid the spaces if possible, but it’s not that big of a deal.

Best,
Eric


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