Usin class method in constructor
Usin class method in constructor
(OP)
Hi
I am transforming a rather large TCL script (almost 900 lines) in class.
The script has many proc, some will become methods, others remain proc.
I would use in the constructor both procs and methods, for proc it seems that they must be defined in the body of the constructor and must precede their use.
The call of method fails: invalid command name "setDict". My be I am not be able to found the correct syntax.
Tahnk for any suggestions
Giovanni Rossati
I am transforming a rather large TCL script (almost 900 lines) in class.
The script has many proc, some will become methods, others remain proc.
I would use in the constructor both procs and methods, for proc it seems that they must be defined in the body of the constructor and must precede their use.
The call of method fails: invalid command name "setDict". My be I am not be able to found the correct syntax.
Tahnk for any suggestions
Giovanni Rossati