[PD] Getting argument number in abstraction

Frank Barknecht fbar at footils.org
Wed Apr 12 16:39:02 CEST 2006


Hallo,
patco hat gesagt: // patco wrote:

>  Hello, I am looking for a method for getting the number of arguments $1 $2 $3 ect... 
>   
>   for example in an object [foobar $1 $2 $3 $4] I would get the number 4.
>   
>    This would be useful for using the same patch to build different kinds of objects with a variating number of parameters.

There is an external [dollarg] in iemlib, which does this. 

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list