Microsoft KB Archive/30357

= &quot;Type Mismatch&quot; Appears When Typing % to Respond to INPUT =

Article ID: 30357

Article Last Modified on 11/21/2006



This article was previously published under Q30357



SYMPTOMS
The error message &quot;Type Mismatch&quot; appears when you type a &quot;%&quot; (percent sign) in response to an INPUT statement receiving input into a numeric variable.



STATUS
Microsoft has confirmed this to be a bug in QuickBasic Versions 4.00, 4.00b, and 4.50, and in Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and OS/2 (buglist6.00, buglist6.00b). This problem was corrected in Microsoft Basic Professional Development System (PDS) Version 7.00 for MS-DOS and MS OS/2 (fixlist7.00).

The program works correctly using QuickBasic Version 3.00.

The following is a code example: INPUT &quot;Enter an integer: &quot;,I%  ' type just % in response to the input. PRINT I%

Additional query words: QuickBas BasicCom buglist4.00 buglist4.00b buglist4.50 B_BasicCom

Keywords: KB30357

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.