BUG: DIMENSION Statement Out of Order Causes D2030 Error

Last reviewed: July 13, 1995
Article ID: Q111092
The information in this article applies to:
  • Microsoft FORTRAN PowerStation for MS-DOS, version 1.0 and 1.0a
  • Microsoft FORTRAN PowerStation 32 for Windows NT, version 1.0

SYMPTOMS

Compiling a file that contains any executable statement before a DIMENSION statement may produce the following errors under Windows NT:

   error F2836: statement out of order
   Command Line Error D2030: INTERNAL COMPILER ERROR

Under straight MS-DOS, the following errors may be produced:

   error F2836: statement out of order
   DOSXNT : fatal error DX1020: unhandled exception: Page fault;

The F2836 error is correctly being generated in both cases.

RESOLUTION

Fixing the "statement out of order" problem also alleviates the internal compiler and page fault errors.

STATUS

Microsoft has confirmed this to be a problem in FORTRAN PowerStation 32 for Windows NT and MS-DOS, version 1.0 and 1.0A. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The following sample illustrates the problem:

Sample Code

c Compile options needed: none c

      continue
      dimension p(10)
      write(*,*) (p(j),j=1,10)
      end


Additional reference words: 1.00 1.00a
KBCategory: kbtool kbbuglist
KBSubcategory: FL32Iss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 13, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.