DDETERMINATE

Purpose:

Terminates a DDE Conversation.

Syntax:

DDETERMINATE(chan1, chan2, chan3, ..., chanN)

chanN

-

One or more DDE channel numbers as returned by DDEINITIATE.

Returns:

Channel number of the last terminated conversation.

Example:

chan = ddeinit("Excel", "Sheet1")

dderequest(chan, "R1C1")

ddeterm(chan)

 

establishes a DDE conversation with Excel, returns the value of the cell in row 1, column 1 as a string and then terminates the conversation.

 

ddeterm(1, 3, 2)

 

terminates the conversations with channel numbers 1, 3 and 2.

Remarks:

All DDE conversations that were initiated by DADiSP are automatically terminated upon exit from DADiSP.

See Also:

DDEINITIATE