[PD-dev] getting the classname in an class

Mathieu Bouchard matju at artengine.ca
Sat Oct 27 08:41:18 CEST 2007


On Sat, 27 Oct 2007, Claude Heiland-Allen wrote:

> See attached external and Pd patch for a solution (workaround?) using an 
> A_GIMME constructor, at least with pd-miller-0.40-2...

This is because the first argument of the constructor is the same thing as 
the first element of the binbuf of the object, as that element is the 
selector in the message that is sent to [objectmaker]. So it does like 
what our latest solutions do, but because you get it from the constructor, 
you can only use it in the constructor or you have to store it. but it's 
already stored in the object, as the first element of the binbuf, so...

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-dev mailing list