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

[Xotcl] Object mixin with passing init args ?

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

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