[PD-dev] how to access literal $args in constructor?

Thomas Grill gr at grrrr.org
Mon Sep 29 18:51:09 CEST 2008


Am 29.09.2008 um 17:56 schrieb IOhannes m zmoelnig:

> we want to create an object that has a variable number of iolets,  
> based
> on the $args available.
> e.g. [myobj $1] should create an object with a single inlet
> [myobj $3] should create an object with 3 inlets.
>
> the number of iolets depends on the literal value of the dollargs, not
> on the expanded values!

While i haven't really thought about how, i'm puzzling about why you  
want to do that.
I can't really think of an application for that.
curious, gr~~~





More information about the Pd-dev mailing list