Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Usin class method in constructor

Status
Not open for further replies.

bellecombe

Instructor
Oct 15, 2003
7
IT
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top