----- Original Message ----- > From: Roman Haefeli <reduz...@gmail.com> > To: "pd-list@iem.at" <pd-list@iem.at> > Cc: > Sent: Thursday, November 3, 2011 4:47 PM > Subject: Re: [PD] symbol2list leading zero > > On Thu, 2011-11-03 at 13:43 -0700, Jonathan Wilkes wrote: >> ----- Original Message ----- >> >> > From: Roman Haefeli <reduz...@gmail.com> >> > To: pd-list@iem.at >> > 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 <ma...@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. >> >> I've written Pd Vanilla hacks that do it without writing to disk > > Aha. > >> and posted >> them on the list. > > Any pointers?
Yes-- use an external. :) Mine is specific to breaking fractions into two floats: http://article.gmane.org/gmane.comp.multimedia.puredata.general/78523/match=fraction+symbol -Jonathan > > Roman > > > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list