diff options
-rw-r--r-- | jim_tcl.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt index 7b321ef..622495c 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -5778,6 +5778,11 @@ namespace ~~~~~~~~~ Provides namespace-related functions. See also: http://www.tcl.tk/man/tcl8.6/TclCmd/namespace.htm ++*namespace canonical* ?current? ?name?+:: + Returns the full name of +'name'+ within namespace '+current+'. + If '+current+' is not given, `namespace current` is used. + If neither are given, returns the current namespace (not qualified with a leading '::'). + +*namespace code* 'script'+:: Captures the current namespace context for later execution of the script +'script'+. It returns a new script in which script has |