[PD-dev] backporting [list]

Mathieu Bouchard matju at artengine.ca
Fri Feb 3 06:00:16 CET 2006


On Thu, 2 Feb 2006, Hans-Christoph Steiner wrote:
> On Feb 2, 2006, at 6:03 PM, Mathieu Bouchard wrote:
> > It's not defined.
> > 
> > [list foo] = [symbol foo]
> > [list 666] = [float 666]
> > [list] = [bang]
> > 
> > just ask ;objectmaker !
> 
> So I guess you are saying that backporting would not be so simple.

No, I'm not saying that.

> Or how would get around that?

By defining a class called "list".

What happens is that Pd sees that you are trying to send a "list" message 
to receive-symbol objectmaker but that it doesn't have a "list" method, so 
pd attempts to replace the selector by one of "bang" "float" "symbol" 
"pointer".

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada




More information about the Pd-dev mailing list