Problem with [tosymbol]

Jul 9, 2011 at 1:23pm

Problem with [tosymbol]

Hi.

Does anyone have experience getting a message including a forward slash ( / ) to output in quotes from a [tosymbol] object? I’m sure there’s a simple solution to what I’m doing, but I can’t figure it out. In the below patch I’m looking for the end result: “_/16″ in a message box.

Thanks in advance for any help!

– Udo.

– Pasted Max Patch, click to expand. –
#57932
Jul 9, 2011 at 1:52pm

hey udo,

What you created is a symbol already. That is why symout doesn’t output the quotes. But maybe you already knew that.

And that means what you are asking is: How do you put a symbol into quotes? I checked the forum for “symbol” and “quotes” and there it is: http://cycling74.com/forums/topic.php?id=33049

– Pasted Max Patch, click to expand. –

all the best,
ygreq

#207839
Jul 9, 2011 at 2:11pm

Ah, duh! Thanks, ygreg. I should drink coffee before I start a.m. patching!

Happy Saturday!

– Udo.

#207840
Jul 9, 2011 at 2:12pm

I misspelled your name ! Sorry, ygreq.

#207841
Jul 9, 2011 at 2:14pm

I just edited the above message as the first example here (the second one there in the link) was with space as well.

No problem,
Happy patching to you, too! ;)

#207842
Jul 9, 2011 at 2:59pm

Thanks, ygreq.

#207843

You must be logged in to reply to this topic.