* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

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