Microsoft KB Archive/73391

= DOCERR: LPT1-LPT4 Standard Devices in FORTRAN 5.1 =

Article ID: 73391

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 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.

Additional query words: 5.10 nofps

Keywords: KB73391

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.