The information in this article applies to:
SYMPTOMS
A program compiled with Microsoft FORTRAN that attempts to write CHAR(26)
to a device such as the printer or screen, may have as a result one
of the following problems during execution under MS-DOS:
STATUSMicrosoft has confirmed this to be a problem in Microsoft FORTRAN versions 3.x, 4.x, and 5.x for MS-DOS. This problem was corrected in FORTRAN PowerStation. MORE INFORMATIONThe following program illustrates the problem of sending CHAR(26) to a device. The user inputs the device that CHAR(26) is to be sent to into the variable "flnm." Possible devices include the screen (CON), printer (PRN, LPT1), or communications port (COM1).
CHAR(26) is the ASCII code for the end-of-file marker or CTRL+Z (^Z).
When this character is output to a device under MS-DOS, as in the program
above, the character may be suppressed or the F6422 run-time error may
be generated.
CHAR(26) can be sent to a file correctly, which can then be sent to the desired device. It can also be sent to a device correctly while running under OS/2. Additional query words: 5.00 5.10
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |