qb45advr.hlp (
Topic list)
ON PLAY(n) Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
ON PLAY(n) - Event trapping statement that specifies a subroutine to
branch to when there are too few notes in the music queue
Syntax
ON PLAY(queuelimit) GOSUB {linelabel | linenumber}
■ queuelimit, an integer expression, is the minimum number of notes
to maintain in the background music queue (between 1 and 32)
■ linelabel or linenumber is the first line of the event-handling
subroutine to branch to when the number of notes in the music
buffer goes from queuelimit to queuelimit - 1
See Also ◄PLAY ON, PLAY OFF, PLAY STOP► ◄PLAY►