[PD] another basic pd question/creation arguments in abstraction

Frank Barknecht fbar at footils.org
Thu Oct 18 08:04:16 CEST 2007


Hallo,
Roman Haefeli hat gesagt: // Roman Haefeli wrote:

> there is no mechanism in pd, that allows you to check, whether a certain
> argument for an abstraction was specified or not. when a certain
> argument is not given, pd just assumes '0'. if '0' is not part of your
> intended argument range, you can check in your abstraction, if the
> argument is '0' and assume, when it is '0', that it was not specified. 
> 
> [loadbang]
> |
> [list $1] <- allows both, symbols and floats
  
  [list append $1] <- allows both, symbols and floats

> |
> [sel 0]
> |     |
> [53 ] |  <- your default value (could also be a symbol)
> |    /
> |   /
> |  /
> | /
> |/
> [t a]

Ciaoo
-- 
 Frank Barknecht                                     _ ______footils.org__




More information about the Pd-list mailing list