DOCERR: LPT1-LPT4 Standard Devices in FORTRAN 5.1 (73391)



The information in this article applies to:

  • Microsoft FORTRAN Compiler for MS-DOS 5.1
  • Microsoft FORTRAN compiler for OS/2 5.1

This article was previously published under Q73391

SUMMARY

LPT2-LPT4 were not treated as standard output devices by versions of FORTRAN prior to version 5.1. This meant that carriage control character in column 1 of output were not recognized, and were printed as characters.

FORTRAN 5.1 now treats LPT2-LPT4 the same as LPT1. COM1 is also treated as a standard device, although COM2 is not.

There is an error in the README.DOC for FORTRAN 5.1. It says that LPT2 is not treated as a standard device and requires STATUS='OLD' in an OPEN statement. This is not true.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:KB73391