Double quotes around symbol without spaces?

May 2, 2011 at 7:33pm

Double quotes around symbol without spaces?

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

#56803
May 2, 2011 at 8:42pm

Hello Eric,

you’re probably looking for that (?) :

– Pasted Max Patch, click to expand. –

`
Charles

#203579
May 2, 2011 at 8:42pm

Hello Eric,

you’re probably looking for that (?) :

– Pasted Max Patch, click to expand. –

`
Charles

#203649
May 2, 2011 at 9:38pm

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

#203581
May 2, 2011 at 9:38pm

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

#203652
May 2, 2011 at 10:10pm

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. –
#203582
May 2, 2011 at 10:10pm

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. –
#203654
May 3, 2011 at 1:25am

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

#203583
May 3, 2011 at 1:25am

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

#203656

You must be logged in to reply to this topic.