Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>timer enable/disable timer trap statement</b> http://www.X-Hacker.org [<<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 QB to check the timer.

         OFF    Causes QB not to check the timer. This is the default
                condition.

        STOP    Also disables trapping, but QB 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:    If the "Checking Between Statements" option is in effect,
                QB checks after each statement. If the "Event Trapping"
                option is selected, QB checks after each new program line.
                If neither option is selected, no trapping takes place.

                For command-line compilation, /v enables checking after
                each statement, and /w enables checking after each new
                line. If neither switch is used, no trapping takes place.

See Also: ON TIMER

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson