On Wed, 28 Jul 2010, Jonathan Wilkes wrote:

That sounds like a good idea.

Ok, it's implemented already. You can try it if you checkout the svn trunk.

Since adddollsym currently ignores any additional args, couldn't you just add the functionality to adddollsym so that when there's no $2 it behaves as it currently does,

Well, if it were only a substitution thing, I could claim that the second argument of adddollsym defaults to the "$" character, and then the method would have a single case. But because the presence of a substitution char would also cause the method to not add an implicit leading "$", it looks more like two different methods stuck into just one.

What do you think ? Are there examples of methods that have multiple behaviours stuck together like that based on number of args ?

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to