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