qb45advr.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 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)