ON PLAY Statement
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Branches to the specified routine when there are fewer than queuemin%
notes in the background-music queue; can be used with object-specific
events.
ON PLAY(queuemin%) GOSUB {linenumber | linelabel}
■ queuemin% Integer expression that is the minimum number of
notes to maintain in the background music queue
between 1 and 32, inclusive
■ linenumber First line of an event-handling routine to execute
linelabel when the number of notes in the music queue is less
than queuemin%
See Also
◄Error/Event Trapping Summary► ◄Object Events Summary►
◄PLAY Function► ◄PLAY Statement (Event Trapping)►
◄PLAY Statement (Music)► ◄Sound/Music Operations►