[Xotcl] error with slots?

Cristian Chaparro cristian.chaparro at univ-perp.fr
Wed Jun 9 14:51:22 CEST 2010


Hi all,
I would like to have some help on an error message that I got recently. 
The code has been working for about 2 years without giving any error and 
today it didn't want to start. I have XOTcl 1.6.6 with tcl 8.5.8 on a 
debian machine.

The error message:
wrong # args: should be "init" during '::Sim4 slots'

produced when sourcing this code

Class Sim4 -slots {
     Attribute file1
     Attribute file2
     Attribute options Default ""
}

Sim4 instproc init {} {
     my instvar hits
     ...
}

Any help is greatly appreciated.

Thanks
Cristian


-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
CRI UPVD http://www.univ-perp.fr



More information about the Xotcl mailing list