Syntax
Public Sub IntervalTimer(vVal As Long)
Description
This function used to set the time interval for the OnTimer() function in milliseconds.
Parameters
Key | Description |
vVal | Milliseconds time interval,value of type long. |
Return value
No returned value.
Sample
Public Sub main()IntervalTimer 60000 'Set the interval to execute OnTimer every 1 minuteEnableTimer true 'Enable the OnTimer functionEnd SubPublic Sub OnTimer()AlertMessage "An Alert Message will appear every one minute"End Sub
See Also