The information in this article applies to:
SYMPTOMSUsing the Microsoft FORTRAN compiler versions 4.0, 4.01, 4.1, 5.0, and 5.1 under MS-DOS and versions 4.1, 5.0, and 5.1 under OS/2 to compile programs that contain concatenations of CHARACTER arrays where the array elements are specified using an element of a huge INTEGER array can generate the following error: The compiler file varies as follows: Version 5.1: (compiler file '@(#)regMD.c:1.9', line 338) RESOLUTIONAssign the value of the huge index array to a temporary variable and use this variable in the concatenation statement. STATUSMicrosoft has confirmed this to be a problem in Microsoft FORTRAN versions 4.0, 4.01, 4.1, 5.0, and 5.1 for MS-DOS and 4.1, 5.0, and 5.1 for OS/2. This problem was corrected in FORTRAN PowerStation, version 1.0. MORE INFORMATIONSample Code 1The following code reproduces the problem:
Sample Code 2The following code corrects the problem:
Additional query words: 4.00 4.10 5.00 5.10
Keywords : |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |