nice. thanks for that one.
Frank Barknecht wrote:
Arguments, that you
don't specify, get initialized as 0. So instead of [moses 1] you
could also use [select 0] and omit the [t b].
___
PD-list@iem.at mailing list
UNSUBSCRIBE and
dear all,
i'm wondering how to get a default value for an abstraction argument that is
not specified. eg: my abstraction [equality] can take 3 arguments, but i
don't want to *have* to type the arguments, in which case the abs should use
a default value.
i came up with the following solution:
Hallo,
robbert van hulzen hat gesagt: // robbert van hulzen wrote:
dear all,
i'm wondering how to get a default value for an abstraction argument that is
not specified. eg: my abstraction [equality] can take 3 arguments, but i
don't want to *have* to type the arguments, in which case the abs
thanks, i'll have a look at that. (atm it seems there's sth funny with the
paths--it creates, but the [test_dollarg] and [pp set] bits don't create.)
cheers, robbert
On 7/23/07 12:09 AM, Thomas O Fredericks [EMAIL PROTECTED] wrote:
The best object for this is dollarg from iemlib. Check it out,
On Mon, 23 Jul 2007, Frank Barknecht wrote:
Almost as elegant as possible with current Pd: Arguments, that you
don't specify, get initialized as 0.
That's not strictly true: if a dollsym gets expanded using nonexistent
arguments, those parts do not get replaced.
A_DOLLAR atoms are atoms