qb45advr.hlp (Topic list)
PLAY Statement Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
PLAY Statement Details
 
Syntax
  PLAY commandstring
 
The commandstring is a string expression containing one or more music
commands. The PLAY statement uses a concept similar to DRAW in that it
embeds a music macro language in one statement. A set of commands, used
as part of the PLAY statement, specifies a particular action.
 
  Octave and Tone Commands
  Duration and Tempo Commands
  Foreground/Background Operation Commands
  Execute Substring Command
 
In compiled programs, you should use the VARPTR$(variable) form for
variables. For example, the BASICA statements
 
  PLAY "XA$"
  PLAY "O = I"
 
should be written for the compiler like this:
 
  PLAY "X" + VARPTR$(A$)
  PLAY "O=" + VARPTR$(I)