[PD] pd version of tosymbol or similar?

Lucas Cordiviola lucarda27 at hotmail.com
Wed Apr 14 02:28:40 CEST 2021


Oops Iain, I thought this was on the Pd-Dev list :)

you can do:

[(out 0 :foobar)(       // <--  message object
|
[fudiformat -u]
|
[list tosymbol]
|


--

Mensaje telepatico asistido por maquinas.

On 4/13/2021 8:47 PM, Lucas Cordiviola wrote:
>
> 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 at lists.iem.at  mailing list
>> UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210413/dec3273d/attachment-0001.htm>


More information about the Pd-list mailing list