diff options
author | hobbs <hobbs> | 2000-04-14 23:01:45 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-04-14 23:01:45 (GMT) |
commit | 35fedc7c01e20753392a8d10576af39ef7fbe1cc (patch) | |
tree | 322db9cdfb9259a6dd4745e0a6e00e2223e5c44b /doc/ExprLong.3 | |
parent | 27d5fb6034d7e6188be7290f2e1e2636dc61353b (diff) | |
download | tcl-35fedc7c01e20753392a8d10576af39ef7fbe1cc.zip tcl-35fedc7c01e20753392a8d10576af39ef7fbe1cc.tar.gz tcl-35fedc7c01e20753392a8d10576af39ef7fbe1cc.tar.bz2 |
* doc/AppInit.3:
* doc/Async.3:
* doc/BackgdErr.3:
* doc/CrtChannel.3:
* doc/CrtInterp.3:
* doc/CrtMathFnc.3:
* doc/DString.3:
* doc/Eval.3:
* doc/ExprLong.3:
* doc/GetInt.3:
* doc/GetOpnFl.3:
* doc/Interp.3:
* doc/LinkVar.3:
* doc/OpenFileChnl.3:
* doc/OpenTcp.3:
* doc/PkgRequire.3:
* doc/RecordEval.3:
* doc/SetResult.3:
* doc/SplitList.3:
* doc/StaticPkg.3:
* doc/TraceVar.3:
* doc/Translate.3:
* doc/UpVar.3:
* doc/load.n: removed or updated references to interp->result use.
Diffstat (limited to 'doc/ExprLong.3')
-rw-r--r-- | doc/ExprLong.3 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/ExprLong.3 b/doc/ExprLong.3 index ba15782..caca85c 100644 --- a/doc/ExprLong.3 +++ b/doc/ExprLong.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: ExprLong.3,v 1.2 1998/09/14 18:39:48 stanton Exp $ +'\" RCS: @(#) $Id: ExprLong.3,v 1.3 2000/04/14 23:01:50 hobbs Exp $ '\" .so man.macros .TH Tcl_ExprLong 3 7.0 Tcl "Tcl Library Procedures" @@ -63,15 +63,13 @@ that is more efficient to execute. The \fIinterp\fR argument refers to an interpreter used to evaluate the expression (e.g. for variables and nested Tcl commands) and to return error information. -\fIinterp->result\fR is assumed to be initialized -in the standard fashion when they are invoked. .PP For all of these procedures the return value is a standard Tcl result: \fBTCL_OK\fR means the expression was successfully evaluated, and \fBTCL_ERROR\fR means that an error occurred while evaluating the expression. If \fBTCL_ERROR\fR is returned then -\fIinterp->result\fR will hold a message describing the error. +the interpreter's result will hold a message describing the error. If an error occurs while executing a Tcl command embedded in the expression then that error will be returned. .PP @@ -99,7 +97,7 @@ it must be one of the values accepted by \fBTcl_GetBoolean\fR such as ``yes'' or ``no'', or else an error occurs. .PP \fBTcl_ExprString\fR returns the value of the expression as a -string stored in \fIinterp->result\fR. +string stored in the interpreter's result. If the expression's actual value is an integer then \fBTcl_ExprString\fR converts it to a string using \fBsprintf\fR with a ``%d'' converter. |