The information in this article applies to:
SYMPTOMS
An attempt to compile an application in the OS/2 operating system
fails and the third pass of the compiler generates a protection
violation.
The patched version of F1.EXE, which is designed to correct structure element I/O in subroutines, produces the same results as the unpatched version. CAUSEThe application passes a structure that contains an array to a subroutine. The subroutine specifies the entire structure element array (no subscript) in an I/O statement. RESOLUTIONUse an implied-DO list to read or write the entire array. STATUSMicrosoft has confirmed this to be a problem in FORTRAN version 5.0 for MS-DOS and OS/2. This problem was corrected in FORTRAN version 5.1 for MS-DOS and OS/2. MORE INFORMATIONThe following code example demonstrates this problem. Sample Code #1
The following code example demonstrates one method to work around this
problem.
Sample Code #2
Additional query words: 5.00 buglist5.00 fixlist5.10
Keywords : |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |