No Error in QB Using Duplicate Parameter Name in DECLARE (58498)
This article was previously published under Q58498
SYMPTOMS
The QuickBasic environment fails to give an error message for a
DECLARE statement that has several parameters with the same name. But
when compiled with BC.EXE, the same statement correctly causes the
following severe errors:
Formal parameters not unique
Formal parameter specification illegal
STATUS
Microsoft has confirmed this to be a bug in the QB.EXE environment
of Microsoft QuickBasic versions 4.00, 4.00b, and 4.50; in the QB.EXE
environment of Microsoft Basic Compiler versions 6.00 and 6.00b
(buglist6.00, buglist6.00b); and in the QBX.EXE (QuickBasic Extended)
environment of Microsoft Basic Professional Development System (PDS)
versions 7.00 and 7.10 for MS-DOS (buglist7.00, buglist7.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/9/2003 |
Keywords: |
KB58498 |
|