--- On Mon, 11/16/09, Mathieu Bouchard <[email protected]> wrote:
> From: Mathieu Bouchard <[email protected]> > Subject: Re: [PD] Finding "$0" and dealing with it in messages > To: "Jonathan Wilkes" <[email protected]> > Cc: "Roman Haefeli" <[email protected]>, "Phil Stone" > <[email protected]>, [email protected] > Date: Monday, November 16, 2009, 8:23 PM > On Mon, 16 Nov 2009, Jonathan Wilkes > wrote: > > > You can already use [symbol] to get the selector of an > incoming message. > > It doesn't work for those selectors: > > bang > symbol > list Why do you say it doesn't work for list? > > To handle these cases, you need to also have [route bang > symbol list], three messageboxes that say «symbol bang» > «symbol symbol» and «symbol list», and three [b] to > protect those messageboxes from whatever comes out of > [route]. then the else-case of [route] goes to [symbol]. As far as I can tell you just need [route bang symbol], two message boxes, and a [symbol] object. There's no need to protect the message boxes because whatever is coming out of inlet 0 and 1 of [route] is either a bang or a symbol, both of which will trigger the msg box's output without changing its content. -Jonathan > > _ _ __ ___ _____ ________ _____________ > _____________________ ... > | Mathieu Bouchard, Montréal, Québec. téléphone: > +1.514.383.3801 _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
