summaryrefslogtreecommitdiffstats
path: root/doc/interp.n
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2004-11-20 00:17:27 (GMT)
committerdgp <dgp@noemail.net>2004-11-20 00:17:27 (GMT)
commit7f5b2f7406fb0b6d22bdadea9f1c8d19f370e3de (patch)
tree37544eb5529a0eb1f2f1a0f46ad94a43354cc96b /doc/interp.n
parent79eb22fa832c3fc386a22f9fc80cc8cb0cbd2651 (diff)
downloadtcl-7f5b2f7406fb0b6d22bdadea9f1c8d19f370e3de.zip
tcl-7f5b2f7406fb0b6d22bdadea9f1c8d19f370e3de.tar.gz
tcl-7f5b2f7406fb0b6d22bdadea9f1c8d19f370e3de.tar.bz2
* doc/AddErrInfo.3: Docs for Tcl_(Get|Set)ReturnOptions. [TIP 227]
* doc/AddErrInfo.3: * doc/Async.3: Documentation updates to replace references * doc/BackgdErr.3: to global variable ::errorInfo and ::errorCode * doc/SaveResult.3: and to the ::bgerror command with references * doc/after.n: to their preferred replacements, the * doc/bgerror.n: -errorinfo and -errorcode return options, * doc/error.n: the Tcl_*InterpState routines, and the * doc/exec.n: [interp bgerror] command. * doc/exit.n: * doc/fileevent.n: * doc/interp.n: * doc/return.n: * doc/tclvars.n: * doc/update.n: FossilOrigin-Name: 347e3ef551045be1885d19a4bf3f70056d92c626
Diffstat (limited to 'doc/interp.n')
-rw-r--r--doc/interp.n17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/interp.n b/doc/interp.n
index 6517a71..b3e79e1 100644
--- a/doc/interp.n
+++ b/doc/interp.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: interp.n,v 1.20 2004/11/12 23:27:59 dkf Exp $
+'\" RCS: @(#) $Id: interp.n,v 1.21 2004/11/20 00:17:32 dgp Exp $
'\"
.so man.macros
.TH interp n 7.6 Tcl "Tcl Built-In Commands"
@@ -178,9 +178,9 @@ exists, the command raises an error.
This command concatenates all of the \fIarg\fR arguments in the same
fashion as the \fBconcat\fR command, then evaluates the resulting string as
a Tcl script in the slave interpreter identified by \fIpath\fR. The result
-of this evaluation (including error information such as the \fBerrorInfo\fR
-and \fBerrorCode\fR variables, if an error occurs) is returned to the
-invoking interpreter.
+of this evaluation (including all \fBreturn\fT options,
+such as \fB-errorinfo\fR and \fB-errorcode\fR information, if an error occurs)
+is returned to the invoking interpreter.
Note that the script will be executed in the current context stack frame of the
\fIpath\fR interpreter; this is so that the implementations (in a master
interpreter) of aliases in a slave interpreter can execute scripts in
@@ -362,9 +362,9 @@ what to set the interpreter's background error to. See the
This command concatenates all of the \fIarg\fR arguments in
the same fashion as the \fBconcat\fR command, then evaluates
the resulting string as a Tcl script in \fIslave\fR.
-The result of this evaluation (including error information
-such as the \fBerrorInfo\fR and \fBerrorCode\fR variables, if an
-error occurs) is returned to the invoking interpreter.
+The result of this evaluation (including all \fBreturn\fT options,
+such as \fB-errorinfo\fR and \fB-errorcode\fR information, if an error occurs)
+is returned to the invoking interpreter.
Note that the script will be executed in the current context stack frame
of \fIslave\fR; this is so that the implementations (in a master
interpreter) of aliases in a slave interpreter can execute scripts in
@@ -688,7 +688,8 @@ reading and writing the option when the particular limit in the
limited interpreter is exceeded. The callback may modify the limit on
the interpreter if it wishes the limited interpreter to continue
executing. If the callback generates an error, it is reported through
-the background error mechansism (see \fBbgerror\fR). Note that the
+the background error mechansism (see \fBBACKGROUND ERROR HANDLING\fR).
+Note that the
callbacks defined by one interpreter are completely isolated from the
callbacks defined by another, and that the order in which those
callbacks are called is undefined.