The information in this article applies to:
SYMPTOMSIf a program contains an allocatable array with the word "map" as the first part of the array name, the following error may be incorrectly generated on the ALLOCATE statement for that array when compiling with Microsoft FORTRAN version 5.0: The ALLOCATE statement must allocate at least two arrays, and the array containing "map" as the first part of its name must follow another array in the ALLOCATE statement. RESOLUTIONThe solution to this problem is to avoid the word "map" in the name of an allocatable array, or to upgrade to FORTRAN version 5.1. STATUSMicrosoft has confirmed this to be a problem in FORTRAN version 5.0. This problem was corrected in FORTRAN version 5.1. MORE INFORMATIONThe following code will cause the incorrect syntax error: Sample code
Renaming the array will avoid this error. The following program
illustrates this solution:
Additional query words: 5.00 buglist5.10 fixlist5.10
Keywords : |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |