The information in this article applies to:
SYMPTOMS
Programs compiled with Microsoft FORTRAN versions 4.0, 4.01, 4.1, 5.0,
and 5.1 can generate a protection violation when run under OS/2, if a
program contains the following:
RESOLUTIONTo avoid this problem, pass the argument to the SUBROUTINE or external FUNCTION as well as to the ENTRY point. STATUSMicrosoft has confirmed this to be a problem in FORTRAN versions 4.0, 4.01, 4.1, 5.0, and 5.1 for OS/2. We are researching this problem and will post new information here as it becomes available. MORE INFORMATIONThe following example illustrates the problem:
The program above should produce the following output:
Instead, a protection violation is generated when the program is run
under OS/2.
Passing the argument to the SUBROUTINE or external FUNCTION in addition to the ENTRY point will prevent the problem from occurring. The following program example illustrates the solution:
Additional query words: 4.00 4.01 4.10 5.00 5.10
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |