PSS ID Number: 148605
Article Last Modified on 11/4/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 Q148605
SYMPTOMS
Compiling a free form source file having multiple-character edit
descriptors with embedded spaces in a FORMAT statement results in this
error:
FOR3852: syntax error detected
CAUSE
The compiler treats files having the extension .f90 as free form source
files. In a free form source file, spaces are normally significant except
in FORMAT statements.
RESOLUTION
Do one of the following:
- Remove the spaces within the multiple-character edit descriptors.
-or-
- Use a fixed form source file by changing the extension to .for.
-or-
- Disable free form source using the /4Nf compiler switch.
-or-
- Use the !MS$NOFREEFORM metacommand before the FORMAT statements
containing the multiple-character edit descriptors with spaces.
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.
Additional query words: 4.00
Keywords: kbLangFortran KB148605
Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8