ID: Q147763
4.00 | 4.00
WINDOWS | WINDOWS NT
kbprg kbbuglist
The information in this article applies to:
Compiling a free form source file that contains a module with the name "procedure" causes the following compiler syntax error:
error FOR3852: syntax error detected between MODULE and PROCEDURE
The compiler fails to interpret the name "procedure" as a valid module name in a free form source file.
Either don't use "procedure" as a module name in a free form source file, or use fixed form source code.
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.
! Compile options needed: none ! Use FORTRAN 90 source extension: .F90
! !ms$nofreeform ! Uncomment this line for workaround
program modproc
end program modproc
module procedure
end module procedure
Additional reference words: 4.00
KBCategory: kbprg kbbuglist
KBSubcategory: FORTLngIss
Keywords : kbFortranPS kbLangFortran kbbuglist
Version : 4.00 | 4.00
Platform : NT WINDOWS
Last Reviewed: March 3, 1996