if it's a matter of using a ready made external object, cyclone/tosymbol exists

If you want a pd vanilla patch that does the same, check else/any2symbol

the key is to use vanilla's [list fromsymbol] and [list tosymbol] and hopefully you'll see what I mean and figure it out.

anyway, really really looking forward to your external, it'll be a huge game changer :) 

best of luck

cheers

Em ter., 13 de abr. de 2021 às 20:50, Lucas Cordiviola <lucarda27@hotmail.com> escreveu:

May be this lines gives you lots of clues:

https://github.com/pure-data/pure-data/blob/8743db3597c371a9491740ac3cbff0eababdd212/src/x_misc.c#L793


PS: I'm on my second Pd external and found the binbuf thing very useful. 


:)

Mensaje telepatico asistido por maquinas.
On 4/13/2021 7:56 PM, Iain Duncan wrote:
Hi folks, I'm trying to figure out how to have a bunch of text, with spacces, get treated as one symbol so that an external can work with it as one thing. In Max, I did this by using the tosymbol object, and then creating a message that was 'eval-string "(all my text as one string here)"'. Is there a Pd idiom for doing something similar that I should follow?  Use cases are 

a) someone enters code in a message box:  '(out 0 :foobar)'
b) code is received as a long string over osc or other network, and needs to be sent to the external

Apologies at the Pd ignorance, still trying to figure all this out while!
iain

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list