DOCERR: LPT1-LPT4 Standard Devices in FORTRAN 5.1

ID: Q73391


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, version 5.1
  • Microsoft FORTRAN for OS/2, version 5.1


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.

Additional query words: 5.10 nofps

Keywords :
Version : :5.1
Platform :
Issue type :


Last Reviewed: November 5, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.