summaryrefslogtreecommitdiffstats
path: root/doc/dde.n
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2003-05-16 22:00:45 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2003-05-16 22:00:45 (GMT)
commitb8ab7934b3d5103f68277fb3671b30d22876303c (patch)
treee139e2526b0ff063e3499ff927aa6d9b64f5c21d /doc/dde.n
parent1e9f014619fc9378af51b46c9d2885235415c120 (diff)
downloadtcl-b8ab7934b3d5103f68277fb3671b30d22876303c.zip
tcl-b8ab7934b3d5103f68277fb3671b30d22876303c.tar.gz
tcl-b8ab7934b3d5103f68277fb3671b30d22876303c.tar.bz2
* doc/dde.n: Updated documentation re TIP #130.
* tests/winDde.test: Applied patch for [Bug 738929] by KKB and changed to new-style tests.
Diffstat (limited to 'doc/dde.n')
-rw-r--r--doc/dde.n13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/dde.n b/doc/dde.n
index 19b1e66..c28c26f 100644
--- a/doc/dde.n
+++ b/doc/dde.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: dde.n,v 1.8 2002/06/27 22:29:08 dgp Exp $
+'\" RCS: @(#) $Id: dde.n,v 1.9 2003/05/16 22:00:47 patthoyts Exp $
'\"
.so man.macros
.TH dde n 1.2 dde "Tcl Bundled Packages"
@@ -17,7 +17,7 @@ dde \- Execute a Dynamic Data Exchange command
.sp
\fBpackage require dde 1.2\fR
.sp
-\fBdde \fIservername\fR ?\fItopic\fR?
+\fBdde \fIservername\fR ?\fI-exact\fR? ?\fI--\fR? ?\fItopic\fR?
.sp
\fBdde \fIexecute\fR ?\fI\-async\fR? \fIservice topic \fR?\fIdata\fR?
.sp
@@ -50,11 +50,16 @@ The \fBeval\fR and \fBexecute\fR commands accept the option \fB\-async\fR:
The following commands are a subset of the full Dynamic Data Exchange
set of commands.
.TP
-\fBdde servername \fR?\fItopic\fR?
+\fBdde servername \fR?\fI-exact\fR? ?\fI--\fR? ?\fItopic\fR?
\fBdde servername\fR registers the interpreter as a DDE server with
the service name \fBTclEval\fR and the topic name specified by \fItopic\fR.
If no \fItopic\fR is given, \fBdde servername\fR returns the name
-of the current topic or the empty string if it is not registered as a service.
+of the current topic or the empty string if it is not registered as a
+service. If the given \fItopic\fR name is already in use, then a
+suffix of the form ' #2' or ' #3' is appended to the name to make it
+unique. The command's result will be the name actually used. The
+\fI-exact\fR option is used to force registration of precisely the
+given \fItopic\fR name.
.TP
\fBdde execute\fR ?\fI\-async\fR? \fIservice topic data\fR
\fBdde execute\fR takes the \fIdata\fR and sends it to the server indicated