* IOhannes m zmoelnig <[email protected]> [2017-03-27 15:49]:
> On 2017-03-27 14:54, Peter P. wrote:
> > it seems the [repeat object out of zexy has a default value of 2 when no
> > argument is supplied. The helpfile does not mention this though. Is 2
> > the default? Thank you!
> 
> [repeat] used to have no default value, and would just plainly refuse to
> instantiate if you forgot to provide the initial number of repetitions
> as creation args.
> my arguing was, that there is no sane default value.
> due to popular demand (iirc) a default value was added, so the object
> would instantiate without creation args and the user would be able to
> right-click the object for a help.
> 
> so my advice would be to not assume any default value and always provide
> a creation argument indicating a repetition cound you think sane.
Thank you for this explanation!
 
[...]
> PS: i'm tempted to issue a (clickable) error message whenver the user
> instantiates without arguments.
Please don't ;)

P

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to