On Apr 29, 2009, at 6:24 AM, Chris McCormick wrote:
Hi Jonathan,
On Sun, Apr 26, 2009 at 11:47:46PM -0700, Jonathan Wilkes wrote:
Hi list,
Here's a pd-vanilla subpatch that outputs an abstraction's
creation
arguments as a list. Just copy and paste "pd arguments" to your
abstraction and it should work. It will output a single bang
only if no
creation arguments are supplied, so you can check whether they
exist or
not. I offer it as a kind of condensed alternative to Matt
Barber's
approach that was posted awhile back (which I cannot find at the
moment).
Whoa, this is pretty intense dynamic patching-fu. I'm really
impressed! Thx for
sharing.
It is a nice hack. That reminds me, wasn't there a patch (as in a
diff of C code) to add $# and $@ to Pd's object argument handling?
That would make this stuff much easier...
.hc
Chris.
-------------------
http://mccormick.cx
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
Mistrust authority - promote decentralization. - the hacker ethic
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list