'''interp hide''' ''path exposedCmdName ?hiddenCmdName?'' Makes the exposed command ''exposedCmdName'' hidden, renaming it to the hidden command ''hiddenCmdName'', or keeping the same name if ''hiddenCmdName'' is not given, in the interpreter denoted by ''path''. If a hidden command with the targeted name already exists, this command fails. Currently both ''exposedCmdName'' and ''hiddenCmdName'' can not contain namespace qualifiers, or an error is raised. Commands to be hidden by '''interp hide''' are looked up in the global namespace even if the current namespace is not the global one. This prevents slaves from fooling a master interpreter into hiding the wrong command, by making the current namespace be different from the global one. [DKF]: Be aware that this mechanism reportedly (according to comments in the code) doesn't work well with namespaces. Nobody's ever taken the time to explain why to me. ---- See also: * [interp] * [interp expose] * [interp hidden] * [interp invokehidden] ---- !!!!!! %| [Category Command] | [Tcl syntax help] |% !!!!!!