"Parameter Type Mismatch" Passing TYPE Array to QB 4.50 SUB (70268)
The information in this article applies to:
This article was previously published under Q70268 SYMPTOMS
The code example below shows a very specific and obscure problem in
QB.EXE 4.50 with passing an array of user-defined TYPEs to a
SUBrogram. The problem occurs only in QB.EXE in the program below when
you define six user-defined TYPEs, dimension an array using the sixth
TYPE, and pass that one array to a subprogram. The problem incorrectly
gives you a "Parameter Type Mismatch" error message in the QB.EXE
environment. The problem does not occur in the compiled .EXE version
of the program. The problem can easily be worked around as shown
below.
STATUS
Microsoft has confirmed this to be a bug in QB.EXE only in
Microsoft QuickBasic version 4.50. This problem is corrected by
QBX.EXE in Microsoft Basic Professional Development System (PDS)
version 7.00 (fixlist7.00) for MS-DOS. This problem does not exist in
QuickBasic versions earlier than QuickBasic 4.50.
Modification Type: | Minor | Last Reviewed: | 1/9/2003 |
---|
Keywords: | KB70268 |
---|
|