[PD] [oscparse] parsing address patterns with integers differently

Miller Puckette msp at ucsd.edu
Wed Oct 29 05:22:47 CET 2014


Sorry if this patch gives you nightmares:

[bang(
|
[oscformat 0]
|
[oscparse]
|
[set $1, bang(
|
[  (
|
[print]

Hit the bang, and the empty message box gets a "0", and the print says, "0".

cheers
Miller

On Sun, Oct 26, 2014 at 10:02:17PM +0800, Chris McCormick wrote:
> Hi Frank,
> 
> On 13/10/14 21:40, Frank Barknecht wrote:
> >  [bang(
> >  |
> >  [oscformat 0]
> >  |
> >  [oscparse]
> >  |
> >  [print]
> > 
> > It will print "symbol 0"!
> 
> Seems you can do this with "list tosymbol" and also "makefilename %d" -
> any idea how I can get from one of those symbols back to a proper float
> again? I am sure I should know this by now!
> 
> Cheers,
> 
> Chris.
> 
> -- 
> http://mccormick.cx/
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list