beautypg.com

Dde cancel, Dde execute, Dde initiate – Xerox -05W User Manual

Page 229

background image

12-25

Creating A Script File

Result

integer

string

will contain the ASCII decimal value
of the first character in .

integer

float

will contain the result of rounding
the floating point number in to
the nearest integer.

float

integer

will contain the floating point number
equivalent of the integer in .

DDE CANCEL

Syntax: DDE CANCEL []

Cancels the DDE conversation on the channel specified by the variable
(as defined by the dde initiate command). If no channel variable is specified then the
channel ID is assumed to be 1. More than one channel variable may be specified on
the same line. The system flag will be set to TRUE if the command is successful, or
FALSE if failed.

DDE EXECUTE

Syntax: DDE EXECUTE []

This command specifies a list of instructions that the DDE partner should perform,
where

is either a string delimited by single quote characters containing the

instructions, or a string variable (excluding single quotes).

is the name of the integer variable identifying the particular channel
for the DDE link if specified by the dde initiate command, other-
wise this is omitted.

The following example will cause an Excel file called expenses.xls to be opened on
channel 1:

dde execute '[open("h:\excel\excelcbt\expenses.xls")]' channel1

DDE INITIATE

Syntax: DDE INITIATE [ ]

This command starts a dynamic data exchange (DDE) conversation between
TeemTalk and an application, where

is a string specifying the name of the DDE partner (i.e. the
application).

is a string specifying the name of a topic for the DDE partner.

This manual is related to the following products: