diff options
author | dgp <dgp@users.sourceforge.net> | 2004-11-20 00:17:28 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-11-20 00:17:28 (GMT) |
commit | ff53303dbf5fc75eea7bb3d9bc569267adb1d49b (patch) | |
tree | 37544eb5529a0eb1f2f1a0f46ad94a43354cc96b /doc/SaveResult.3 | |
parent | 2c96347f634403dffaf0ecf177118cd8202af841 (diff) | |
download | tcl-ff53303dbf5fc75eea7bb3d9bc569267adb1d49b.zip tcl-ff53303dbf5fc75eea7bb3d9bc569267adb1d49b.tar.gz tcl-ff53303dbf5fc75eea7bb3d9bc569267adb1d49b.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:
Diffstat (limited to 'doc/SaveResult.3')
-rw-r--r-- | doc/SaveResult.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/SaveResult.3 b/doc/SaveResult.3 index b2bb744..e250f70 100644 --- a/doc/SaveResult.3 +++ b/doc/SaveResult.3 @@ -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: SaveResult.3,v 1.3 2004/11/18 22:04:39 dgp Exp $ +'\" RCS: @(#) $Id: SaveResult.3,v 1.4 2004/11/20 00:17:31 dgp Exp $ '\" .so man.macros .TH Tcl_SaveResult 3 8.1 Tcl "Tcl Library Procedures" @@ -62,8 +62,8 @@ These routines are passed a pointer to a \fBTcl_SavedResult\fR structure that is used to store enough information to restore the interpreter result. This structure can be allocated on the stack of the calling procedure. These routines do not save the state of any error -information in the interpreter (e.g. the \fBerrorCode\fR or -\fBerrorInfo\fR variables). +information in the interpreter (e.g. the \fB-errorcode\fR or +\fB-errorinfo\fR return options, when an error is in progress). .PP Because the routines \fBTcl_SaveInterpState\fR, \fBTcl_RestoreInterpState\fB, and \fBTcl_DiscardInterpState\fR perform @@ -77,7 +77,7 @@ of existing programs that may already be using them. interpreter state that make up the full result of script evaluation. This include the interpreter result, the return code (passed in as the \fIstatus\fR argument, and any return options, including -the errorInfo and errorCode information when an error is in progress. +\fB-errorinfo\fR and \fB-errorcode\fR when an error is in progress. This snapshot is returned as an opaque token of type \fBTcl_InterpState\fR. The call to \fBTcl_SaveInterpState\fR does not itself change the state of the interpreter. Unlike \fBTcl_SaveResult\fR, it does |