DDE Commands Appendix D Obsolete Features
147
D.3.6 DDETerminate
Syntax
returnstate = DDETerminate(channel)
Remarks
Typical Example
DDETerminate(channelname)
The server and topic specified by Integer point 'channelname' is closed.
D.3.7 DDETerminateAll
Syntax
returnstate = DDETerminateAll()
Remarks
Typical Example
DDETerminateAll()
All previously initiated DDE links are closed.
D.3.8 EnableDDE
Syntax
returnstate = EnableDDE(pointname)
Remarks
Typical Examples
EnableDDE(result)
DDE functions are enabled based on the value of point 'result'. If 'point' is
'TRUE', then DDE is enabled, if 'point' is 'FALSE', then DDE is disabled.
EnableDDE(TRUE)
DDE functions can also be enabled directly without using a point to hold the
desired status.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
channel Integer
point
This is an integer point which contains the
return value of the DDEInitiate() command.
Both server and topic parameters applied to the
channel in the DDEInitiate() command must be
open or an error is reported.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Pointname bool
point
A Boolean point that holds the required enable/
disable state