hello,
if you want the conversion to be in 0 logical time, you can write the symbol in a textfile, and read it back.
something like :
[clear, add $1, write /tmp/symbol2float, read /tmp/symbol2float, rewind, bang< | [textfile]
but since it need to write the data somewhere, it's still not an ideal solution.
cheers Cyrille
Le 21/04/2017 à 15:40, hans w. koch a écrit :
hello,
pd-vanilla question: trying to harness geodata from an xml file, i need to parse lines like this: gx:coord8.689756393432365 49.4138 109.18</gx:coord> with a combination of "list split“ and „list fromsymbol“ i end up with three message boxes, „8.689756393432365“, „49.4138“ and „109.18“. problem is, that the message box containing „8.689756393432365“ is a symbol and i can´t seem to find a way to reconvert it to a float, other then sending it thru a netsend/netreceive pair. (as per this tip from 2007: https://lists.puredata.info/pipermail/pd-list/2007-02/047499.html).
its working fine, but i was wondering, if this really is the only vanilla solution?
i might well be staring at the obvious and not seeing it... thanks in advance for any other pointers!
best hans
www.hans-w-koch.net
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list