On 11/12/06, Julian Rohrhuber <rohrhuber@xxxxxxxxxxxxxx> wrote:
At 18:24 Uhr +0000 12.11.2006, Tom Hall wrote: > >Hmm, mainly it's not clear to me why > >q = (); >s.sendMsg("/g_new", q.test = s.nextNodeID, 0, 0); this would be fixed by: doesNotUnderstand { arg selector ... args; var func; if (know) { func = this[selector]; if (func.notNil) { ^func.functionPerformList(\value, this, args); }; if (selector.isSetter) { selector = selector.asGetter; this[selector] = args[0]; ^args[0] };
normal objects return the receiver when set so that you can chain : q.a_(1).b_(2).c_(3) ( 'c': 3, 'a': 1, 'b': 2 ) By making the change you would make normal objects act one way and events act another way. -- --- james mccartney