Maybe dirty but skillful! Is it possible to have this included somewhere in pdx abs?
> De: "Cyrille Henry" <[email protected]> > > hello, > > a dirty hack allow distinction between no argument and a 0 float arg. > see attachment. > cheers > c > > > Le 25/09/2012 15:45, Patrice Colet a écrit : > > > >> De: "Patrice Colet" <[email protected]> > >>> De: "Funs Seelen" <[email protected]> > >> > >>> Speaking about creation arguments: if none are given for > >>> abstractions > >>> the default value is always "0" (at least I never figured out a > >>> way > >>> to > >>> give another default value *). For C-objects it is possible to > >>> use > >>> any > >>> float value as default. > >> > >> > >> [loadbang] > >> | > >> [$1] > >> | > >> [sel 0] > >> | > >> [my default value( > >> > > > > indeed it doesn't seem possible to set a default value and keep 0 > > as another value > > > > _______________________________________________ > > [email protected] mailing list > > UNSUBSCRIBE and account-management -> > > http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
