Microsoft KB Archive/35330

= BUG: CINT  Bad Value or Run Error 6 Compiled for 68020 =

Article ID: 35330

Article Last Modified on 11/21/2006



This article was previously published under Q35330



SYMPTOMS
Taking the CINT of a variable of type long will give Error 6 (&quot;Overflow&quot;) at run time if the program is compiled with both the Generate 68020 Code and Check Arrays & Overflow compiler options. If the program is compiled without the Check Arrays & Overflow option, an incorrect (often negative) value will be returned. If the program is run in the interpreter or is compiled without the Generate 68020 Code option, the CINT function works correctly.

Microsoft has confirmed this to be a bug in Microsoft QuickBasic Version 1.00 for the Macintosh. We are researching this problem and will post new information as it becomes available.

The following program statement demonstrates the problem: PRINT CINT(1&amp;)

Additional query words: MQuickB

Keywords: kbbug KB35330

-

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

© Microsoft Corporation. All rights reserved.