FutureBasic Logo

<<    Index    >> FutureBasic 5

timer   statement

timer = interval

If you have designated a timer-event handling routine (using the on timer statement), the timer statement alters the interval at which timer events occur. If timer events have not yet been initiated (because your on timer statement specified an interval of zero), the timer statement also initiates timer events.
If the interval parameter is greater than zero, it specifies the interval in seconds. If interval is less than zero, then abs(interval) specifies the interval in ticks (a tick is approximately 1/60 second). Setting interval to zero disables the timer. Fractional values of interval are acceptable.
Timer firings are not queued; they are lost if your application does not handle events for times greater than the interval.

See Also:
on timer