Terminate Function (DPL Code)
This command is used to end a DDE conversation. The syntax is
channel - A number identifying the channel.
The function returns the number 0.
This function may not be coded in the decision tree. In practice, the function will generally not be coded in a DPL model, but it may be used in the Command Program. All open channels are terminated automatically whenever DPL terminates or a new DPL program is analyzed.
If the channel argument of the terminate function is a constant expression, the function will be executed at compile time; otherwise, the function will be executed each time the containing expression is evaluated and the channel argument has assumed a new value.
Versions: DPL Professional, DPL Enterprise, DPL Portfolio