[PD-dev] [once] default closed...

Mathieu Bouchard matju at artengine.ca
Tue Sep 12 01:08:44 CEST 2006


On Mon, 11 Sep 2006, Hans-Christoph Steiner wrote:

> I was thinking that it would be nice to have [once] accept a single 
> argument which would set the initial state of the object, just like 
> [spigot].  But this means that it would have to be default closed like 
> spigot, breaking backwards compatibility.

No, it doesn't mean that. You need to make the creator accept A_GIMME 
instead of A_DEFFLOAT. Then when you get argc,argv, check whether argc==0.

> Do you mind if I make this change in abstractions/purepd/once.pd and 
> add a warning message on load?

Don't accept Pd's limitations, push for $@ and/or $# today!

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada


More information about the Pd-dev mailing list