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

[Xotcl] error with slots?

From: Cristian Chaparro <cristian.chaparro_at_univ-perp.fr>
Date: Wed, 09 Jun 2010 14:51:22 +0200

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