summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-10-19 16:27:58 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-10-19 16:27:58 (GMT)
commit0aae1d13f15af2e36636d02db11784d0884d59d7 (patch)
tree908a9cf7995de56d4785954c34c9a43445eda786
parent89675f56467f3a8c563caaf05cbd38f46feabfe2 (diff)
downloadtcl-0aae1d13f15af2e36636d02db11784d0884d59d7.zip
tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.tar.gz
tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.tar.bz2
Document [info coroutine].
-rw-r--r--ChangeLog2
-rw-r--r--doc/info.n9
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f20624..52b3507 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-10-19 Donal K. Fellows <dkf@users.sf.net>
+ * doc/info.n: Added documentation of [info coroutine].
+
* doc/prefix.n: Improved the documentation by fixing formatting,
adding good-practice recommendations and cross-references, etc.
diff --git a/doc/info.n b/doc/info.n
index a5a3eaa..58bf428 100644
--- a/doc/info.n
+++ b/doc/info.n
@@ -8,7 +8,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: info.n,v 1.31 2008/10/17 10:22:25 dkf Exp $
+'\" RCS: @(#) $Id: info.n,v 1.32 2008/10/19 16:27:58 dkf Exp $
'\"
.so man.macros
.TH info n 8.4 Tcl "Tcl Built-In Commands"
@@ -79,6 +79,13 @@ to allow users to type in commands that span multiple lines; if the
command is not complete, the script can delay evaluating it until additional
lines have been typed to complete the command.
.TP
+\fBinfo coroutine\fR
+.VS 8.6
+Returns the name of the currently executing coroutine, or the empty string if
+either no coroutine is currently executing, or the current coroutine has been
+deleted (but has not yet returned or yielded since deletion).
+.VE 8.6
+.TP
\fBinfo default \fIprocname arg varname\fR
.
\fIProcname\fR must be the name of a Tcl command procedure and \fIarg\fR