[<<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. QuickBASIC 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: If the "Checking Between Statements" option is in effect,
QB checks for communication activity 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 PLAY(n)
Play (Function)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson