PLAY "N0" First Note of Rest Clicks Speaker in QuickBasic (22018)
This article was previously published under Q22018
SYMPTOMS
In QuickBasic, the PLAY statement can produce a click on the speaker
for the first note of rest (but not for subsequent notes of rest). For
example, the following program will produce no sound when run under
the BasicA or GW-Basic Interpreter, but produces a single click when
run as a compiled QuickBasic program:
10 while inkey$ = ""
20 play "N0" ' N followed by zero (0) means play a note of rest.
30 wend
STATUS
Microsoft has confirmed this to be a bug in QuickBasic versions 2.00, 2.01,
3.00, 4.00, 4.00b, and 4.50; in Microsoft Basic Compiler versions 6.00 and
6.00b; and in Microsoft Basic Professional Development System (PDS)
versions 7.00 and 7.10. We are researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB22018 |
|