tcl - ::itcl::delete throws error "invalid command name" -


i using itcl delete command delete objects , classes. however, tcl interpreter says "invalid command name "delete". here partial code snippet.

% itcl::find classes datapath point datapath_point itcl::find objects datapath_point0 datapath_point1 datapath0 % itcl::delete object datapath_point0 invalid command name "delete" 

thanks, boppu

with peter, comments error in code. in 1 of base class, had following code.

destrutor { delete object $this } 

here, delete namespace missing. though add "itcl::delete", endup in error. simple , correct solution should empty destructor.

destructor { }   

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -