bas7qck.hlp (Table of Contents; Topic list)
PLAY Statement (Music)
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
PLAY commandstring$
 
    ■ commandstring$     A string expression that contains one or more of
                         the music commands.
 
    ■ Octave and Tone Commands
        o n      Set current octave (n = 0-6).
        < or >   Move up or down one octave.
        A - G    Play A, B, ... G in current octave (+ or # = sharp,
                 - = flat).
        Nn       Play a znote (n = 0-84, where 0 is a rest).
 
    ■ Duration and Tempo Commands
        Ln       Sets length of a note (n = 1-64, where 64 is 64th note).
        ML       Each note plays full length.
        MN       Each note plays 7/8 of length.
        MS       Each note plays 3/4 of length.
        Pn       Pause for the duration of n quarternotes (n = 1-64).
        Tn       Sets tempo (n = 32-255, 120 quarter notes per minute
                 default).
 
    ■ Foreground/Background Operation Commands
        MF       Plays music in foreground.
        MB       Plays music in background.
 
     ■ To execute substrings within a PLAY command, use a command of
       the form:
 
         "X" + VARPTR$(stringexpression)
 
    ■ The PLAY statement is not available in OS/2 protected mode.
 
See Also    Execute Substring Command           BEEP     ON PLAY
            PLAY Statements (Event-Trapping)    SOUND    PLAY Function