The information in this article applies to:
SYMPTOMSAn application provides incorrect results. When the application is compiled with Microsoft FORTRAN version 4.0 for MS-DOS, it provides correct results. CAUSEThe application stores an array in a COMMON block. The application uses as an array subscript a variable that is the first argument to the IBSET intrinsic function. The application assigns to that element the value returned from the IBSET intrinsic function. RESOLUTION
To work around this problem, perform one of the following three steps:
-or- -or- STATUSMicrosoft has confirmed this to be a problem in FORTRAN versions 4.01, 4.1, 5.0, and 5.1 for MS-DOS and versions 4.1, 5.0, and 5.1 for OS/2. This problem was corrected in FORTRAN PowerStation, version 1.0. MORE INFORMATIONThe following code example demonstrates this problem. Sample Code #1
The following code example demonstrates one technique to eliminate
this problem. It assigns the array element to a temporary variable and
specifies the variable in the IBSET function call.
Sample Code #2
The following code example demonstrates another technique to eliminate
this problem. It places an executable statement between the two IBSET
function calls.
Sample Code #3
Additional query words: 4.01 4.10 5.00 5.10 buglist4.01 buglist4.10 buglist5.00 buglist5.10 fixlist1.00
Keywords : |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |