[PD] Can $0 be 0?

Frank Barknecht fbar at footils.org
Sun Aug 13 10:04:02 CEST 2006


Hi,

I would like to check, if $0 was passed as an argument to an
abstraction. The usual idiom is: 
    
    [loadbang] 
    |
    [f $1] assuming, $0 was passed as $1
    |
    [select 0]
            |
            this is $0 now

Now of course this fails, if $0 also can be zero itself. I know, that
currently this is very unlikely, because $0 starts at 1000 and grows.
But it would be great if possible future changes to the
$0-implementation would still rule out 0 as a value for $0, so that
the test from above will keep working.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list