The information in this article applies to:
SYMPTOMSA FORTRAN program that appends a Hollerith constant consisting of five or more characters to a string may cause the compiler to generate an internal compiler error. FORTRAN 5.1 under OS/2 and DOS:FORTRAN 5.0 under OS/2 and DOS: RESOLUTION
The Hollerith descriptor is mainly intended to be used within a FORMAT
specifier. However, it should be able to be used in any context where
character constants can be used.
STATUSMicrosoft has confirmed this to be a problem in Microsoft FORTRAN versions 4.0, 4.01, 4.1, 5.0, and 5.1. This problem was corrected in FORTRAN PowerStation, version 1.0. MORE INFORMATIONCompiling the following code produces an internal compiler error: Sample Code #1
The same problem happens if you increase the number of characters on
the Hollerith constant.
A possible solution to this problem is to append the string and Hollerith constant in a FORMAT specifier. An alternative is to define the whole string inside the FORMAT and then write it out. The following code illustrates these solutions: Sample Code #2
Additional query words: 4.00 4.10 5.00 5.10 fixlist1.00 buglist5.10 buglist5.00 buglist4.10 buglist4.01 buglist4.00
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |