FIX: CTRL+Z Is Not End-of-File Marker in PowerStation (112333)
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
This article was previously published under Q112333 SYMPTOMS
Run-time error F6101 or F6103 (invalid INTEGER or invalid REAL) may be
generated on reading from the last record in a file using Microsoft FORTRAN
PowerStation.
CAUSE
The CTRL+Z character is not treated as the true end-of-file marker in
MS-DOS or Windows. This character is interpreted as a nonstandard character
by FORTRAN PowerStation in many circumstances.
RESOLUTION
To resolve this problem, remove the CTRL+Z character from the end of data
files. The function NO_CTRLZ provided below may be used to do this for any
file with or without the CTRL+Z character.
STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN
PowerStation 32 version 1.0 and 1.0a for MS-DOS and version 1.0 for Windows
NT. This problem was corrected in FORTRAN PowerStation 32, version 4.0.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbbug kbfix kbLangFortran KB112333 |
---|
|