The timer object is used for the one-time or repeated time-delayed execution of a function in TCE.
To do this define a feature (here: timer) of the type COM object reference and enter the COM class name in the “class” property.
TCEServer.Timer
Activate the "Use Events" switch in the properties of the variable.
Create the event "Timer" under the events of the variable.
Use in a local variable is not possible.
Initialize the timer object in a function:
Timer := New TCEServer.Timer