O4WTimer routine
Description
Creates a timer that fires after the specified # of seconds (which may be fractional).
Syntax
O4WTimer(#seconds, bIsRepeating, extraParams, id, bIsUpdate)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
#Seconds | The number of seconds between firings of the timer. | |
bIsRepeating | When set to '1', the timer will fire repeatedly at the specified interval. When the timer fires, a "TIMER" event is sent back to the O4W commuter module (and, similar to an O4WBUTTON 'click' event, the values of input controls associated with the current section will be submitted to the O4W commuter module). | |
extraParams | If extraParams are specified, they will be passed back to the O4W commuter module when the timer fires as well. | |
id | Specifying <ID> allows the programmer to give the timer a unique name; this name can also be used to cancel the timer (by passing <#seconds> set to "0") | |
bIsUpdate | When TRUE, indicates a change to an existing timer control. When FALSE, indicates the creation of a new timer control. |