[PD] Dealing with blocks of text in Pd

Iain Duncan iainduncanlists at gmail.com
Tue Oct 27 15:18:48 CET 2020


Hi folks, I'm in the design stages of porting my Scheme for Max external to
Pd, and have some questions already. :-)

What is the best way to deal with large-ish blocks of text in Pd for
sending big text messages to an object? In Max (in case readers know it) I
use a textedit object to allow the user to enter several lines of code,
this goes to a tosymbol to turn into one giant symbol, and then I use a
prepend to get a single message that looks like the below

eval-string "(define (hello-world) (post :hello-world))"

The above then comes into my external as two atoms.

If anyone has suggestions for the best way to do that, or knows of
externals I might want to use to accomplish the above, that would be lovely.

iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201027/acaa11a0/attachment.html>


More information about the Pd-list mailing list