diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-25 09:25:27 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-25 09:25:27 (GMT) |
commit | 859f56b5099b2bfd3ad42becd2aaddca16196ce2 (patch) | |
tree | a55358a428b5851b24d6a6406ae63dc80f3b016d /doc/expr.n | |
parent | 79cc10a2e22854d53a72f18f95e87a867df9925a (diff) | |
download | tcl-859f56b5099b2bfd3ad42becd2aaddca16196ce2.zip tcl-859f56b5099b2bfd3ad42becd2aaddca16196ce2.tar.gz tcl-859f56b5099b2bfd3ad42becd2aaddca16196ce2.tar.bz2 |
GOOBE for command results in examples
Diffstat (limited to 'doc/expr.n')
-rw-r--r-- | doc/expr.n | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: expr.n,v 1.25 2007/10/24 14:29:38 dkf Exp $ +'\" RCS: @(#) $Id: expr.n,v 1.26 2007/10/25 09:35:14 dkf Exp $ '\" .so man.macros .TH expr n 8.5 Tcl "Tcl Built-In Commands" @@ -107,11 +107,11 @@ the variable \fBb\fR has the value 6. Then the command on the left side of each of the lines below will produce the value on the right side of the line: .CS -.ta 6c -\fBexpr\fR 3.1 + $a \fI6.1\fR -\fBexpr\fR 2 + "$a.$b" \fI5.6\fR -\fBexpr\fR 4*[llength "6 2"] \fI8\fR -\fBexpr\fR {{word one} < "word $a"} \fI0\fR +.ta 3.5i +\fBexpr\fR 3.1 + $a \fB\(-> \fI6.1\fR +\fBexpr\fR 2 + "$a.$b" \fB\(-> \fI5.6\fR +\fBexpr\fR 4*[llength "6 2"] \fB\(-> \fI8\fR +\fBexpr\fR {{word one} < "word $a"} \fB\(-> \fI0\fR .CE .SS OPERATORS .PP |