[PD-dev] read a *.plist array in tcl

yvan volochine yvan.pd at gmail.com
Thu Mar 24 19:43:10 CET 2011


hi
when reading from a *.plist file in tcl, if the value asked is an array, 
I get a string:

if {![catch {exec defaults read org.puredata $akey} arr]} {
     puts $arr
}

// this string is printed
(
"foo",
"bar"
)

is there any elegant way to get this array as a tcl list directly ?

cheers,
_y



More information about the Pd-dev mailing list