summaryrefslogtreecommitdiffstats
path: root/doc/return.n
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2024-06-04 16:39:14 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2024-06-04 16:39:14 (GMT)
commit4fa54adbdec030bc26298f5f38d4435b4c1818b5 (patch)
tree10ccf2d9a7dab459d4d12b5cf14002175ec9e927 /doc/return.n
parent1719e80d015d40d514bb9209a921525b2d667d9c (diff)
downloadtcl-4fa54adbdec030bc26298f5f38d4435b4c1818b5.zip
tcl-4fa54adbdec030bc26298f5f38d4435b4c1818b5.tar.gz
tcl-4fa54adbdec030bc26298f5f38d4435b4c1818b5.tar.bz2
TIP 696 #defines and docs
Diffstat (limited to 'doc/return.n')
-rw-r--r--doc/return.n5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/return.n b/doc/return.n
index 9bf1ae2..6c5b821 100644
--- a/doc/return.n
+++ b/doc/return.n
@@ -78,7 +78,10 @@ were the command \fBcontinue\fR.
\fIvalue\fR
.
\fIValue\fR must be an integer; it will be returned as the
-return code for the current procedure.
+return code for the current procedure. Values in the range
+-0x40000000 (-1073741824) to 0x40000000 (1073741824) are reserved
+for Tcl. Applications and extensions should use codes outside
+this range.
.LP
When a procedure wants to signal that it has received invalid
arguments from its caller, it may use \fBreturn -code error\fR