Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>$event enable/disable event trapping</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
$EVENT                   Enable/Disable Event Trapping

 $EVENT {ON | OFF}

    Turns event trapping on or off for specific sections of a program.

   --------------------------------------------------------------------------

      Notes:    Event trapping results in the generation of event-checking
                code after each program statement. To make programs more
                compact and efficient, you can turn off event-trapping in
                those areas of the program that don't require it.

                If the program doesn't contain any event trapping at all,
                then $EVENT is OFF and no event-trap checking code is
                generated. However, if an event trap statement is
                encountered, $EVENT is turned back on, causing the
                generation of event-trap code after every statement.

See Also: ON COM ON ERROR ON KEY ON PEN ON PLAY ON TIMER

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