FIX: F2040 Error, * as Comment Character with /4Yi, /4Ys, /4Yv (47722)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN compiler for OS/2 5.0
This article was previously published under Q47722 SYMPTOMS
An attempt to compile an application fails and the compiler
generates the following message:
F2040: label on continuation line
CAUSE
The application contains one or more lines that place an asterisk
(*) character in column one to indicate a comment and the compiler
command line includes the /4Yi, /4Ys, or /4Yv compiler option
switch.
RESOLUTION
To work around this problem, place the letter C into column one to
indicate a comment.
STATUS
Microsoft has confirmed this to be a problem in FORTRAN version 5.0
for MS-DOS and OS/2. This problem was corrected in FORTRAN version
5.1 for MS-DOS and OS/2.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbfix KB47722 |
---|
|