----- Original Message ----- > From: Roman Haefeli <[email protected]> > To: [email protected] > Cc: > Sent: Thursday, November 3, 2011 4:36 PM > Subject: Re: [PD] symbol2list leading zero > > On Thu, 2011-11-03 at 08:33 -0700, Jonathan Wilkes wrote: >> > From: Mathieu Bouchard <[email protected]> > >> > 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.
I've written Pd Vanilla hacks that do it without writing to disk and posted them on the list. But I'm talking about GF solutions. -Jonathan > > Roman > > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
