Syntax
Public Sub EnableTimer(vVal As Boolean)
Description
This function used to enable or disable the OnTimer() function.
Parameters
Key | Description |
vVal | Used to enable the timer if it equal true or disable timer if it equal false, value of type Boolean. |
Return value
No returned value.
Sample
Public Sub main()IntervalTimer 60000 'Set the interval to execute OnTimer every 1 minute.EnableTimer true 'Enable the OnTimer functionEnd Sub
See Also