[PD] Finding "$0" and dealing with it in messages

Mathieu Bouchard matju at artengine.ca
Fri Nov 13 01:16:17 CET 2009


On Fri, 13 Nov 2009, Frank Barknecht wrote:
> Alexandre Porres hat gesagt: // Alexandre Porres wrote:
>> But I totally disagree, I have been teaching a lot basic Pd around, and
>> people always get confused and think they can just throw "$0" in messages.
> That may be because your students assume, that $1 in a message box is the same
> as $1 in an object box when in fact it's something different.

That may be because you assume that objectboxes' $0 must have something to 
do with $1,$2,$3,... when in fact it's something different.

   $3 stands for ce_argv[2]
   $2 stands for ce_argv[1]
   $1 stands for ce_argv[0]
   $0 stands for ce_dollarzero

it's a special case no matter what.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


More information about the Pd-list mailing list