Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:
On Fri, 21 Jul 2006, Frank Barknecht wrote:
# But, of course, this gives an error when there are no creation arguments.
As missing arguments are initialized to 0 you can use a [select 0] to filter out unwanted arguments.
If someone really wants to have $1 = 0, how is that unwanted?
It's an unwanted problem with Pd's argument passing.
And there are two ways out: One is IEMlib's [dollarg], the other would be to introduce a special symbol for 0, like "ZERO" and use something like:
[select 0] | [select ZERO] | [0(
Of course then you cannot have $1 = ZERO (the symbol) anymore.
Frank Barknecht _ ______footils.org_ __goto10.org__