summaryrefslogtreecommitdiffstats
path: root/doc/info.n
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 /doc/info.n
parent89675f56467f3a8c563caaf05cbd38f46feabfe2 (diff)
downloadtcl-0aae1d13f15af2e36636d02db11784d0884d59d7.zip
tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.tar.gz
tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.tar.bz2
Document [info coroutine].
Diffstat (limited to 'doc/info.n')
-rw-r--r--doc/info.n9
1 files changed, 8 insertions, 1 deletions
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