The information in this article applies to:
SYMPTOMS
Character string concatenations that involve the automatic creation of
temporary variables may cause the following memory related run-time
problems:
RESOLUTIONThis memory loss can be avoided by assigning the concatenated strings to a temporary character string variable. STATUS
Microsoft has confirmed this to be a problem in FORTRAN PowerStation
version 1.0. This problem has been resolved with FORTRAN PowerStation
maintenance release version 1.0a for MS-DOS.
MORE INFORMATIONThe following two sample programs demonstrate a memory loss due to string concatenation in the argument list. In both of the following examples, using a temporary variable for the concatenated strings avoids the memory leak. Sample Code 1
The code above will run very slowly, and eventually generate:
Sample Code 2
The above code on execution will generate:
The code does run to completion because this type of DOS-extender error is not fatal. Additional query words: 1.00 buglist1.00 fixlist1.00a
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |