[PD] "get" method for Pd

Hans-Christoph Steiner hans at at.or.at
Fri Nov 18 22:57:39 CET 2011

On Nov 18, 2011, at 4:55 PM, Mathieu Bouchard wrote:

> Le 2011-11-18 à 16:02:00, Hans-Christoph Steiner a écrit :
>> I don't really see what you mean in canvasargs.  [+] behaves differently when given a bang or a list.  Bang outputs the current result again, and a list of two numbers sets two new values to add and outputs the result.
> Read it as « a bang or an empty list ».
> The bang is cast to an empty-list in a context where a list-method is defined but a bang-method isn't.

Hmm, I think it really the opposite, an empty list is cast as a bang.  That's how its generally implemented anyway.



You can't steal a gift. Bird gave the world his music, and if you can hear it, you can have it. - Dizzy Gillespie

More information about the Pd-list mailing list