--- On Fri, 12/4/09, Mathieu Bouchard <ma...@artengine.ca> wrote:
> From: Mathieu Bouchard <ma...@artengine.ca> > Subject: Re: [PD] Finding "$0" and dealing with it in messages > To: "Jonathan Wilkes" <jancs...@yahoo.com> > Cc: pd-list@iem.at > Date: Friday, December 4, 2009, 1:51 AM > On Wed, 25 Nov 2009, Jonathan Wilkes > wrote: > > > Currently, is there any way to get the selector of a > message? > > The [symbol]/[route] method mentioned earlier in this > thread doesn't work > > for [list( because [route] will convert it to a bang. > > In the message > > [list( > > the selector is "list," right? > > Yes, but it is cast by the pd kernel whenever the > list-method is not defined, because then, they inherit the > default list-method (pd_defaultlist), which turns every > empty list to a bang. Where does the conversion from, say, "list 12" to "float 12" happen in pd? Is it left to each object to convert one-element lists to a symbol/float/pointer? And getting back to the thread subject: if $0 in msg boxes was changed so that it expands to the selector of the incoming message, what would the following do: [list 12( | [$0 1 2 3 4( [list( | [$0 one two three( -Jonathan _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list