[PD] [text define] functionality for text in structs?

Derek Kwan derek.x.kwan at gmail.com
Sun Mar 26 22:18:19 CEST 2017


Miller Puckette <msp at ucsd.edu> writes:

> Not sure if this really works yet but...
>
> You should be able to use [text tolist] and [text fromlist] to copy the
> entire contents of a text inside a scalar (struct) into a [text define] -
> and from there to/from a file.
>
> cheers
> Miller

Hello,

Correct, this works. I was just hoping for the ability to use these methods
"directly" on a text struct member without these extra steps or
overhead, but perhaps the text being a member of a struct makes things
a little bit more complicated... I could see an abstraction using a
"proxy" [text] instance and automating the [text fromlist/tolist] steps
helping out the situation though. Thanks!

Derek
-- 
Derek Kwan
www.derekxkwan.com



More information about the Pd-list mailing list