On Sep 11, 2006, at 7:08 PM, Mathieu Bouchard wrote:
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.
[once] is written in Pd, so that doesn't apply.
.hc
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
------------------------------------------------------------------------
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.