In this section:
%dl (Timer) allows a given call-back function to be called at regular intervals. It takes a DOUBLE PRECISION argument that is the number of seconds to wait between calls followed by the given call-back.
The following code produces a window that displays its message for two seconds before closing:
Note: Timing messages are only received while the program is idle.