Hello all,
Some commands names in TCL are composed from several words for example "info tclversion" "info script" and "info body" . I need to override one of these commands ( "info script" ) but to keep the rest of them alive.
Unfortunately, overriding the command "info script" either with Tcl_CreateObjCommand() or by definining proc "info script" ... override all the "info *" commands . It seems for TCL the command name is "info" and the rest are considered 'sub commands' thus by overriding "info script" I actualy override the entire "info" command with all its sub commands .
Does anyone have a way to override only one sub command and keeping the rest of them ???
Thanks for your help !
Some commands names in TCL are composed from several words for example "info tclversion" "info script" and "info body" . I need to override one of these commands ( "info script" ) but to keep the rest of them alive.
Unfortunately, overriding the command "info script" either with Tcl_CreateObjCommand() or by definining proc "info script" ... override all the "info *" commands . It seems for TCL the command name is "info" and the rest are considered 'sub commands' thus by overriding "info script" I actualy override the entire "info" command with all its sub commands .
Does anyone have a way to override only one sub command and keeping the rest of them ???
Thanks for your help !