Microsoft KB Archive/45688

= BC.EXE 4.50 &quot;Internal Error Near 361F&quot; Passing Integers to SUB =

Article ID: 45688

Article Last Modified on 11/21/2006



This article was previously published under Q45688



SYMPTOMS
A compiler error message, &quot;Internal error near 361F,&quot; occurs when the code below is compiled with the BC.EXE that comes with QuickBasic version 4.50.

This problem does NOT occur in the QuickBasic 4.50 environment, in QuickBasic Compiler versions 4.00 or 4.00b, in Basic Compiler versions 6.00 or 6.00b, or in Basic Professional Development System (PDS) version 7.00.

The code example below will cause an &quot;Internal error near 361F&quot; with BC.EXE in QuickBasic 4.50. The problem seems to stem from the complicated integer computation.

To work around this problem, use a temporary variable for part of the calculation.



STATUS
Microsoft has confirmed this to be a bug in QuickBasic version 4.50. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
The following is a code example: SUB test (i0%, i1%, i2%, i3%)      '4 integer parameters necessary 'Work-around: use temporary variable: ' temp% = i3% \ i2% ' i1% = i1% + temp% + 1 i1% = i1% + i3% \ i2% + 1          'remove any operation fixes i3% = 1                            'this line is necessary END SUB

Additional query words: QuickBas buglist4.50

Keywords: KB45688

-

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

© Microsoft Corporation. All rights reserved.