DOCERR: Program-Name Not Optional in PROGRAM Statement (147748)
The information in this article applies to:
- Microsoft FORTRAN PowerStation for MS-DOS 1.0
- Microsoft FORTRAN PowerStation for MS-DOS 1.0a
- Microsoft Fortran Powerstation 32 for Windows NT 1.0
- Microsoft Fortran PowerStation for Windows 95 and Windows NT 4.0
This article was previously published under Q147748 SUMMARY
The Microsoft Fortran PowerStation version 4.0 reference manual and Help
file incorrectly state that the program-name is optional when using the the
PROGRAM statement. Actually, it is not optional. Compiling a source file
using the PROGRAM statement without a program-name will cause one of the
following syntax errors to occur:
For Fortran PowerStation versions 1.0 and 1.0a for MS-DOS and Fortran
PowerStation version 1.0 for Windows NT, the error is:
error F2115: syntax error
For Fortran PowerStation version 4.0 with the .for file extension, the
errors are:
error FOR2934: lexical error: Unrecognized statement
error FOR3852: syntax error
For Fortran PowerStation version 4.0 with the .f90 file extension, the
error is:
error FOR3852: syntax error
Modification Type: | Major | Last Reviewed: | 12/8/2003 |
---|
Keywords: | kbLangFortran KB147748 |
---|
|