summaryrefslogtreecommitdiffstats
path: root/doc/return.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-13 09:48:16 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-13 09:48:16 (GMT)
commite6667b545727cc9ef6510a8d0341787d742ce6e5 (patch)
tree35b25c94bf0797e650fad456bf4d9ff60ae38b18 /doc/return.n
parent64c888aa098657d606d2377b70a5d355e0c3f37a (diff)
downloadtcl-e6667b545727cc9ef6510a8d0341787d742ce6e5.zip
tcl-e6667b545727cc9ef6510a8d0341787d742ce6e5.tar.gz
tcl-e6667b545727cc9ef6510a8d0341787d742ce6e5.tar.bz2
Some small formatting tweaks
Diffstat (limited to 'doc/return.n')
-rw-r--r--doc/return.n14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/return.n b/doc/return.n
index d771c28..fc2d1f8 100644
--- a/doc/return.n
+++ b/doc/return.n
@@ -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: return.n,v 1.22 2009/05/15 09:14:45 dkf Exp $
+'\" RCS: @(#) $Id: return.n,v 1.23 2010/01/13 09:48:16 dkf Exp $
'\"
.so man.macros
.TH return n 8.5 Tcl "Tcl Built-In Commands"
@@ -47,31 +47,31 @@ However, the \fB\-code\fR option may be used to generate an
exceptional return from the procedure.
\fICode\fR may have any of the following values:
.TP 13
-\fBok (or 0)\fR
+\fBok\fR (or \fB0\fR)
.
Normal return: same as if the option is omitted. The return code
of the procedure is 0 (\fBTCL_OK\fR).
.TP 13
-\fBerror (1)\fR
+\fBerror\fR (or \fB1\fR)
.
Error return: the return code of the procedure is 1 (\fBTCL_ERROR\fR).
The procedure command behaves in its calling context as if it
-were the command \fBerror \fIresult\fR. See below for additional
+were the command \fBerror\fR \fIresult\fR. See below for additional
options.
.TP 13
-\fBreturn (2)\fR
+\fBreturn\fR (or \fB2\fR)
.
The return code of the procedure is 2 (\fBTCL_RETURN\fR). The
procedure command behaves in its calling context as if it
were the command \fBreturn\fR (with no arguments).
.TP 13
-\fBbreak (3)\fR
+\fBbreak\fR (or \fB3\fR)
.
The return code of the procedure is 3 (\fBTCL_BREAK\fR). The
procedure command behaves in its calling context as if it
were the command \fBbreak\fR.
.TP 13
-\fBcontinue (4)\fR
+\fBcontinue\fR (or \fB4\fR)
.
The return code of the procedure is 4 (\fBTCL_CONTINUE\fR). The
procedure command behaves in its calling context as if it