summaryrefslogtreecommitdiffstats
path: root/doc/namespace.n
diff options
context:
space:
mode:
authorericm <ericm>2000-01-26 21:36:35 (GMT)
committerericm <ericm>2000-01-26 21:36:35 (GMT)
commitd3256a88c6ade958ce2e87ca8a3b7c0231e476ef (patch)
treec034dc441d7fe54e8a3187e41a118ac3a83186fd /doc/namespace.n
parent7b6b3a5c4a1ea767c7ba8cb5236f916461e703b9 (diff)
downloadtcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.zip
tcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.tar.gz
tcl-d3256a88c6ade958ce2e87ca8a3b7c0231e476ef.tar.bz2
* generic/tclNamesp.c: Undid fix for #956, which broke backwards
compatibility. * doc/variable.n: * doc/trace.n: * doc/namespace.n: * doc/info.n: Added further information about differences between "namespace which" and "info exists". * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg() functions.
Diffstat (limited to 'doc/namespace.n')
-rw-r--r--doc/namespace.n7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/namespace.n b/doc/namespace.n
index eeb45f5..93d1656 100644
--- a/doc/namespace.n
+++ b/doc/namespace.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: namespace.n,v 1.3 1999/04/16 00:46:35 stanton Exp $
+'\" RCS: @(#) $Id: namespace.n,v 1.4 2000/01/26 21:36:35 ericm Exp $
'\"
.so man.macros
.TH namespace n 8.0 Tcl "Tcl Built-In Commands"
@@ -228,7 +228,10 @@ For example, if \fIname\fR does not exist in the current namespace
but does exist in the global namespace,
this command returns a fully-qualified name in the global namespace.
If the command or variable does not exist,
-this command returns an empty string.
+this command returns an empty string. If the variable has been
+created but not defined, such as with the \fBvariable\fR command
+or through a \fBtrace\fR on the variable, this command will return the
+fully-qualified name of the variable.
If no flag is given, \fIname\fR is treated as a command name.
See the section \fBNAME RESOLUTION\fR below for an explanation of
the rules regarding name resolution.