Syncopation Software

DPL 9 Help

Execute Function (DPL Code)

Execute Function (DPL Code)

This function asks the server application to perform an operation. The syntax is


channel - A number identifying the channel.

commands - A named or literal string constant containing the commands to be executed.

The function returns the number 0.

If the channel argument of the execute function is a constant expression and the containing expression is a constant expression, the function will be performed at compile time; otherwise, the function will be executed each time the containing expression is evaluated and either the channel argument has assumed a new value, a poke or initiate function has been executed, or a refresh command has been executed at the server interface.


execute(channel, "[CALCULATE NOW()]")

Versions: DPL Professional, DPL Enterprise, DPL Portfolio

See Also