diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-10-19 16:27:58 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-10-19 16:27:58 (GMT) |
commit | 0aae1d13f15af2e36636d02db11784d0884d59d7 (patch) | |
tree | 908a9cf7995de56d4785954c34c9a43445eda786 /doc | |
parent | 89675f56467f3a8c563caaf05cbd38f46feabfe2 (diff) | |
download | tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.zip tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.tar.gz tcl-0aae1d13f15af2e36636d02db11784d0884d59d7.tar.bz2 |
Document [info coroutine].
Diffstat (limited to 'doc')
-rw-r--r-- | doc/info.n | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |