FIX: Implied DO-loop with DATA, Structure Causes F1900 (84327)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 5.1
This article was previously published under Q84327 SYMPTOMS
When attempting to initialize an array of structure elements with a DATA
statement that uses an implied DO-loop, the Microsoft FORTRAN 5.1 compiler
may generate the following error under MS-DOS:
fatal error F1900: maximum memory-allocation size exceeded
A trap C with the following error message may be generated under OS/2:
SYS1942: A program attempted to reference storage outside the
limits of a stack segment. The program was ended.
These messages occur only when the data being initialized in the implied DO-
loop of the DATA statement is of type CHARACTER.
RESOLUTION
To initialize an array of record elements of type CHARACTER, use assignment
statements or read the data from an external file.
STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN version
5.1 for MS-DOS and OS/2. This problem was corrected in FORTRAN
PowerStation, version 1.0.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbbug kberrmsg kbfix KB84327 |
---|
|