[PD] symbol2list leading zero

Roman Haefeli reduzent at gmail.com
Thu Nov 3 21:36:42 CET 2011

On Thu, 2011-11-03 at 08:33 -0700, Jonathan Wilkes wrote:
> > From: Mathieu Bouchard <matju at artengine.ca>

> > If someone just wants to split lists instead of converting to floats and getting 
> > weird answers on pd-list, there's [gf/s2l], which does not do anything else 
> > than splitting (as it is like with any string-splitter outside of pd/max).
> Once split, is there a way to convert symbol-atom "19.95" to a float?

Two work-arounds come to my mind:

1) Send the symbol to [textfile] save it as a file, read the file again
   and output the result.

2) Send it through a [netsend] / [netreceive] pair.

The former involves writing to disk, but the latter is even worse in
that messes up depth-first order.


More information about the Pd-list mailing list