advr.hlp (Topic list)
PLAY Statement (Music) Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 PLAY commandstring$
 
 Usage Notes
   ■ The PLAY statement uses a concept similar to DRAW in that it embeds a
     music macro language in one statement - that is, a set of commands, used
     as part of the PLAY statement, specifies a particular action.
     See: DRAW Statement
 
   ■ To execute a PLAY command substring from a PLAY command string, use the
     "X" substring command:
 
         PLAY "X"+ VARPTR$(commandstring$)
 
         Substring               Action
         ═════════════════════   ═══════════════════════════════════════════
         "X" + VARPTR$(string)   Executes a substring
 
     See: "X", Substring Command
 
   ■ In Visual Basic programs, use the VARPTR$(variablename) form for
     variables. For example:
 
         PLAY "X" + VARPTR$(A$)
         PLAY "O=" + VARPTR$(I)
 
   See: VARPTR$ Function