summaryrefslogtreecommitdiffstats
path: root/doc/incr.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-27 12:53:22 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-27 12:53:22 (GMT)
commit4c2d0f20bfa9108949678cf49bfdc58eedc7bb93 (patch)
treeb3ce80d2f183dc1bd02185c2bf44738b4377c9ed /doc/incr.n
parentcd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07 (diff)
downloadtcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.zip
tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.tar.gz
tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.tar.bz2
More minor doc fixes
Diffstat (limited to 'doc/incr.n')
-rw-r--r--doc/incr.n16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/incr.n b/doc/incr.n
index 6a2ecc3..1af0e85 100644
--- a/doc/incr.n
+++ b/doc/incr.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: incr.n,v 1.4 2004/04/30 22:45:56 dkf Exp $
+'\" RCS: @(#) $Id: incr.n,v 1.5 2004/10/27 12:53:22 dkf Exp $
'\"
.so man.macros
.TH incr n "" Tcl "Tcl Built-In Commands"
@@ -29,25 +29,25 @@ and also returned as result.
.SH EXAMPLES
Add one to the contents of the variable \fIx\fR:
.CS
-incr x
+\fBincr\fR x
.CE
-
+.PP
Add 42 to the contents of the variable \fIx\fR:
.CS
-incr x 42
+\fBincr\fR x 42
.CE
-
+.PP
Add the contents of the variable \fIy\fR to the contents of the
variable \fIx\fR:
.CS
-incr x $y
+\fBincr\fR x $y
.CE
-
+.PP
Add nothing at all to the variable \fIx\fR (often useful for checking
whether an argument to a procedure is actually numeric and generating
an error if it is not):
.CS
-incr x 0
+\fBincr\fR x 0
.CE
.SH "SEE ALSO"