qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PLAY Function
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Returns the number of notes in the background music queue.
 
PLAY(n)
 
    ■ n    Any numeric expression.
 
Example:
    Music$ = "MBT180o2P2P8L8GGGL2E-P24P8L8FFFL2D"
    PLAY Music$
    WHILE PLAY(0) > 5: WEND
    PRINT "Just about done!"
 
See Also    PLAY (Music)    PLAY, ON PLAY (Event Trapping)