[PD] Finding "$0" and dealing with it in messages

Jonathan Wilkes jancsika at yahoo.com
Fri Nov 27 19:47:40 CET 2009



--- On Fri, 11/27/09, Mathieu Bouchard <matju at artengine.ca> wrote:

> From: Mathieu Bouchard <matju at artengine.ca>
> Subject: Re: [PD] Finding "$0" and dealing with it in messages
> To: "Jonathan Wilkes" <jancsika at yahoo.com>
> Cc: "Roman Haefeli" <reduzierer at yahoo.de>, "Phil Stone" <pkstone at ucdavis.edu>, pd-list at iem.at
> Date: Friday, November 27, 2009, 6:23 PM
> On Sun, 22 Nov 2009, Jonathan Wilkes
> wrote:
> 
> >>>> It doesn't work for those selectors: bang
> symbol list
> >>> Why do you say it doesn't work for list?
> >> because it doesn't.
> > 
> > Well, if you send the message "list 7" to [symbol] it
> will output "symbol list," when, according to
> all_about_data_types.pd, it ought to output "symbol
> float."  Other than this, are there instances where
> [symbol] doesn't work correctly with lists?
> 
> If you send "list stuff" or "list zzz" to [symbol] you
> don't get "list", you get "stuff" or "zzz".

But how does having [route bang symbol list] instead of just 
[route bang symbol] help you here?  [route] will call
"list stuff" a symbol, not a list. 

> 
> In light of what I wrote above, you'd actually need [route
> bang symbol float] to correctly convert lists with one float
> element.
> 
> What's the correct selector of a 1-element list?

Hm, I'm so used to seeing one element lists automatically converted to 
floats or bangs (or pointers) by just about every object I use that I 
would assume [symbol] ought to say "symbol float" for [list 12( 
and "symbol symbol" for [list foo( . But then if the selector is 
supposed to be "list," what should the selector be for [list( ?

-Jonathan

> 
>  _ _ __ ___ _____ ________ _____________
> _____________________ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone:
> +1.514.383.3801


      




More information about the Pd-list mailing list