PLAY Statement Programming Example These examples use PLAY to play scales and a familiar melody. Example 1 This example uses ">" to play the scales from octave 0 to octave 6, then reverses with "<" to play the scales from octave 6 to octave 0: SCALE$ = "CDEFGAB" PLAY "o0 X" + VARPTR$(SCALE$) FOR I = 1 TO 6 PLAY ">X" + VARPTR$(SCALE$) NEXT PLAY "o6 X" + VARPTR$(SCALE$) FOR I = 1 TO 6 PLAY "