[PD] symbol2list leading zero

Jonathan Wilkes jancsika at yahoo.com
Thu Nov 3 21:43:43 CET 2011


----- Original Message -----

> From: Roman Haefeli <reduzent at gmail.com>
> To: pd-list at 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 <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.

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
> 
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list