summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 15:13:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 15:13:12 (GMT)
commitd9737c5991ba61c51f807ee3a63dd19d59ca9b9f (patch)
tree5c801fc9a784da4f38c92c452e2384223e3a39a5 /doc
parentfb3868da56eefe6d9e742897992fe979185e1cc1 (diff)
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
downloadtcl-d9737c5991ba61c51f807ee3a63dd19d59ca9b9f.zip
tcl-d9737c5991ba61c51f807ee3a63dd19d59ca9b9f.tar.gz
tcl-d9737c5991ba61c51f807ee3a63dd19d59ca9b9f.tar.bz2
Merge 8.7
Diffstat (limited to 'doc')
-rw-r--r--doc/expr.n9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/expr.n b/doc/expr.n
index 1498ba1..69f6399 100644
--- a/doc/expr.n
+++ b/doc/expr.n
@@ -82,9 +82,9 @@ produces the value on the right side.
.PP
.CS
.ta 9c
-\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 {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
.CE
.PP
@@ -270,7 +270,7 @@ which means that operands are not evaluated if they are
not needed to determine the outcome. For example, in
.PP
.CS
-\fBexpr\fR {$v ? [a] : [b]}
+\fBexpr\fR {$v?[a]:[b]}
.CE
.PP
only one of \fB[a]\fR or \fB[b]\fR is evaluated,
@@ -510,4 +510,5 @@ Copyright \(co 2005 by Kevin B. Kenny <kennykb@acm.org>. All rights reserved.
.fi
'\" Local Variables:
'\" mode: nroff
+'\" fill-column: 78
'\" End: