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>play enable/disable music trap statement</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PLAY                     Enable/Disable Music Trap                  Statement

 PLAY {ON | OFF | STOP}

    Enables or disables the ON PLAY trap.

          ON    PLAY ON enables checking of the background music buffer.

         OFF    PLAY OFF disables checking of the background music buffer.
                This is the default condition.

        STOP    PLAY STOP inhibits trapping. Turbo Basic continues
                checking the buffer, and if the notes remaining are fewer
                than specified in the ON PLAY statement, a subsequent PLAY
                ON results in an immediate trap.

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

      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 PLAY PLAY (Event Trap)

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