Thank you Harald for the suggestion, still it shouldn't prevent me from
renaming a command.
% namespace eval ::A {
proc a {} { return 0}
namespace export a
namespace ensemble create }
::A
% ::A a
0
% rename ::A ::B
% ::B a
0
% ::A a
invalid command name "::A"
while evaluating {::A a}
I think I will seek another way to get around this, even though I could
figure out how Tcl wants this command to be renamed it looks like a too
deep tampering with the core language.
-- Massimo
On 02/15/2016 08:57 AM, Harald Oehlmann wrote:
Hi Massimo,
AFAIK, info is implemented as an ensemble.
You can add subcommands just like that.
I am not sure to which TCL version this is true...
-Harald
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]