summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-10-02 23:03:58 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-10-02 23:03:58 (GMT)
commit0d2359a376086f55fc6219cc2801eb4e58069ad4 (patch)
tree6d239db17af62a99d45618f40208c5f7efe6d64d /doc
parent370d9d65a2415686b7f006ae6073e52fd9156b69 (diff)
downloadtcl-0d2359a376086f55fc6219cc2801eb4e58069ad4.zip
tcl-0d2359a376086f55fc6219cc2801eb4e58069ad4.tar.gz
tcl-0d2359a376086f55fc6219cc2801eb4e58069ad4.tar.bz2
* doc/info.n: Fixed [SF Bug 2134049]. Rephrased the documentation
of 'info frame' for positive numbers as level argument.
Diffstat (limited to 'doc')
-rw-r--r--doc/info.n11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/info.n b/doc/info.n
index e1b877b..66ec0c4 100644
--- a/doc/info.n
+++ b/doc/info.n
@@ -8,7 +8,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: info.n,v 1.29 2008/10/02 19:01:30 mistachkin Exp $
+'\" RCS: @(#) $Id: info.n,v 1.30 2008/10/02 23:03:58 andreas_kupries Exp $
'\"
.so man.macros
.TH info n 8.4 Tcl "Tcl Built-In Commands"
@@ -104,10 +104,11 @@ information for the command at the \fInumber\fRed level on the stack.
.RS
.PP
If \fInumber\fR is positive (> 0) then it selects a particular stack
-level (1 refers to the top-most active command, i.e., \fBinfo frame\fR
-itself, 2 to the command it was called from, and so on); otherwise it
-gives a level relative to the current command (0 refers to the current
-command, i.e., \fBinfo frame\fR itself, -1 to its caller, and so on).
+level (1 refers to the outer-most active command, 2 to the command it
+called, and so on, up to the current frame level which refers to
+\fBinfo frame\fR itself); otherwise it gives a level relative to the
+current command (0 refers to the current command, i.e., \fBinfo
+frame\fR itself, -1 to its caller, and so on).
.PP
This is similar to how \fBinfo level\fR works, except that this
subcommand reports all frames, like \fBsource\fRd scripts,