FIX: No Error When Out-of-Range Value Read Into INTEGER*1 (67230)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.0
- Microsoft FORTRAN Compiler for MS-DOS 4.01
- Microsoft FORTRAN Compiler for MS-DOS 4.1
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN compiler for OS/2 4.1
- Microsoft FORTRAN compiler for OS/2 5.0
This article was previously published under Q67230 SYMPTOMS
When an application reads a value less than -128 or larger than 127
into an INTEGER*1 variable, no run-time error occurs. Compiling
with the /4Yb compiler option switch or the $DEBUG metacommand does
not change the observed results.
CAUSE
The run-time error management routine inspects the first byte of
the input value to determine if it is in range and ignores the
remaining bytes.
STATUS
Microsoft has confirmed this to be a problem in FORTRAN versions
4.0, 4.01, 4.1, and 5.0 for MS-DOS and versions 4.1 and 5.0 for
OS/2. This problem was corrected in FORTRAN version 5.1 for MS-DOS
and OS/2.
| Modification Type: | Major | Last Reviewed: | 12/1/2003 |
|---|
| Keywords: | kbfix KB67230 |
|---|
|