[Xotcl] Object mixin with passing init args ?

Zoran Vasiljevic zoran at munich.com
Wed Dec 13 10:30:04 CET 2000


Hi XOTcl gurus!

Consider this:

% Class Foo
% Foo instproc init {dir} {puts hallo}

% Class Bar
% Bar bar
% bar mixin Foo
no value given for parameter "dir" to "init"

After snooping arround I've found out that mixin's does
not allow any argument passing to the mixin class initializer.

Is this something normal ? If one needs such functionality
are there any workarounds ?

Cheer's
Zoran


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




More information about the Xotcl mailing list