[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
TIMER Enable/Disable Timer Trap Statement
TIMER {ON | OFF | STOP}
Enables or disables event trapping via ON TIMER.
ON Causes Turbo Basic to check the timer.
OFF Causes Turbo Basic not to check the timer. This is the
default condition.
STOP Also disables trapping, but Turbo Basic continues
checking. If the specified amount of time has elapsed, a
subsequent TIMER ON results in an immediate trap (provided
an ON TIMER statement with a nonzero line number has been
executed).
-------------------------------------------------------------------------
Notes: With event trapping in effect, Turbo Basic checks for the
specified event after each program statement. The $EVENT
metastatement can be used to turn event trapping on and
off at specified points within a program.
See Also:
$EVENT
ON TIMER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson