No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] error with slots?
From: Cristian Chaparro <cristian.chaparro_at_univ-perp.fr>
Date: Wed, 09 Jun 2010 15:22:30 +0200
All,
The problem was that, somehow, I managed to change "-d" in -default to
"D"... I read several times the code and I didn't see it until now.
Sorry for the noise!
Cristian
On 06/09/2010 02:51 PM, Cristian Chaparro wrote:
> 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
>
>
>
Date: Wed, 09 Jun 2010 15:22:30 +0200
All,
The problem was that, somehow, I managed to change "-d" in -default to
"D"... I read several times the code and I didn't see it until now.
Sorry for the noise!
Cristian
On 06/09/2010 02:51 PM, Cristian Chaparro wrote:
> 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