summaryrefslogtreecommitdiffstats
path: root/doc/tclvars.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-29 11:28:49 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-29 11:28:49 (GMT)
commit18476c905183d0b6cfbac7a85e8543265cf9fae0 (patch)
treedb7d2280643a39b2805c9c90cc8dffc8673fc107 /doc/tclvars.n
parent77f37026419a7e05c71c233d137412f77aee2825 (diff)
downloadtcl-18476c905183d0b6cfbac7a85e8543265cf9fae0.zip
tcl-18476c905183d0b6cfbac7a85e8543265cf9fae0.tar.gz
tcl-18476c905183d0b6cfbac7a85e8543265cf9fae0.tar.bz2
GOOBE the docs some more.
Diffstat (limited to 'doc/tclvars.n')
-rw-r--r--doc/tclvars.n16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/tclvars.n b/doc/tclvars.n
index 4317436..8c8eff4 100644
--- a/doc/tclvars.n
+++ b/doc/tclvars.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: tclvars.n,v 1.31 2007/10/29 01:42:19 dkf Exp $
+'\" RCS: @(#) $Id: tclvars.n,v 1.32 2007/10/29 11:28:50 dkf Exp $
'\"
.so man.macros
.TH tclvars n 8.0 Tcl "Tcl Built-In Commands"
@@ -51,13 +51,13 @@ will not work on Windows and is discouraged for cross-platform usage.
.RE
.TP
\fBerrorCode\fR
-This variable holds the value of the \fB-errorcode\fR return option
+This variable holds the value of the \fB\-errorcode\fR return option
set by the most recent error that occurred in this interpreter.
This list value represents additional information about the error
in a form that is easy to process with programs.
The first element of the list identifies a general class of
errors, and determines the format of the rest of the list.
-The following formats for \fB-errorcode\fR return options
+The following formats for \fB\-errorcode\fR return options
are used by the Tcl core; individual applications may define
additional formats.
.RS
@@ -105,7 +105,7 @@ for \fBSIGTTIN\fR.
\fBNONE\fR
This format is used for errors where no additional information is
available for an error besides the message returned with the
-error. In these cases the \fB-errorcode\fR return option
+error. In these cases the \fB\-errorcode\fR return option
will consist of a list containing a single element whose
contents are \fBNONE\fR.
.TP
@@ -117,12 +117,12 @@ of the error that occurred, such as \fBENOENT\fR; this will
be one of the values defined in the include file errno.h.
The \fImsg\fR element will be a human-readable
message corresponding to \fIerrName\fR, such as
-"no such file or directory"
+.QW "no such file or directory"
for the \fBENOENT\fR case.
.PP
-To set the \fB-errorcode\fR return option, applications should use library
+To set the \fB\-errorcode\fR return option, applications should use library
procedures such as \fBTcl_SetObjErrorCode\fR, \fBTcl_SetReturnOptions\fR,
-and \fBTcl_PosixError\fR, or they may invoke the \fB-errorcode\fR
+and \fBTcl_PosixError\fR, or they may invoke the \fB\-errorcode\fR
option of the \fBreturn\fR command.
If one of these methods has not been used, then the Tcl
interpreter will reset the variable to \fBNONE\fR after
@@ -130,7 +130,7 @@ the next error.
.RE
.TP
\fBerrorInfo\fR
-This variable holds the value of the \fB-errorinfo\fR return option
+This variable holds the value of the \fB\-errorinfo\fR return option
set by the most recent error that occurred in this interpreter.
This string value will contain one or more lines
identifying the Tcl commands and procedures that were being executed