Posted to tcl by Rothgar at Fri Dec 14 14:20:57 GMT 2007view raw
- class T1 {
- proc T1 {this} {
- putlog "Contructing";
- }
- proc ~T1 {this} {
- putlog "Destructing";
- }
- }
- set server [new T1];
- [06:05] invalid command name "T1::T1"
- while executing
- "T1::T1 1"
- ("uplevel" body line 1)
- invoked from within
- "uplevel 1 $constructor [set id [incr newId]] $args"
- (procedure "new" line 29)
- invoked from within
- "new T1"
- invoked from within
- "set server [new T1]"