PSS ID Number: 149511
Article Last Modified on 11/3/1999
The information in this article applies to:
- Microsoft Fortran PowerStation for Windows 95 and Windows NT 4.0
This article was previously published under Q149511
SYMPTOMS
Compiling a source file that contains the !msnofreeform or $nofreeform metacommand immediately following a subroutine END statement (on the previous line) causes the following compilation errors:
-and-
RESOLUTION
Do one of the following:
- Change the subroutine's END statement to: end subroutine. -or-
- Insert a blank line between the subroutine END statement and the !ms$nofreeform or $nofreeform metacommand.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Sample Code to Illustrate Problem
! Compile options needed: none call test1 end subroutine test1() !ms$freeform write(*,*) 'in test1' call test2 ! uncomment the following line for first workaround ! end subroutine ! comment the following line for second workaround end ! insert a blank line after END statement for second workaround !ms$nofreeform ! or $nofreeform subroutine test2() write(*,*) 'in test2' END
Additional query words: 4.00
Keywords: kbCompiler KB149511
Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8