[PD] one question

Michal Seta mis at creazone.32k.org
Wed Jun 23 05:33:55 CEST 2004


Mirko Petrovich <prab at terra.cl> writes:

> Hi all,
> I was wondering, how can I get the number of arguments passed to an
> abstraction ?

you mean when you want to use an undocumented abstraction and its
usage is not clear?

If so, open it and look for $n variables within _objects_.  $0 will be
a unique argument generated automatically, $1, $2...$n will represent
arguments that a user should provide ($1 = first argument, $2 = second
argument etc).

And the same logic applies if you want to create abstractions that
require arguments...

HTH

-- 
	      _
      __  __ (_)___   Michal Seta
     / 	\/  \ _/^ _|
    /  	     V |_  \ @creazone.32k.org
   (___/V\___|_|___/
http://www.[creazone]|[noonereceiving].32k.org





More information about the Pd-list mailing list