View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] RE: [Xotcl] Re: [Xotcl] Object mixin with passing init args ?

From: Zoran Vasiljevic <zoran_at_munich.com>
Date: Wed, 13 Dec 2000 05:09:13 -0500 (EST)

------Original Message------
From: <uwe.zdun_at_uni-essen.de>
To: Zoran Vasiljevic <zoran_at_munich.com>
Sent: December 13, 2000 9:55:56 AM GMT


> 2. However, in the "mixin" case we could enable argument passing,
> because "mixin" has just one argument? The rest could be passed > to
"init". any objections?

obj mixin Foo arg1 arg2 arg3

would pass arg1-arg3 to init of Foo. Right?

obj mixin [list Foo Bar] arg1 arg2 arg3

would pass arg1-arg3 to init of Foo AND of Bar. Right again?

Is so, then I think it should be done, if possible. 0.85 ? 0.9 ?

Cheer's,
Zoran


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup