The information in this article applies to:
SYMPTOMSUnder some circumstances, a $DEBUG message may incorrectly give the name of an include file instead of the name of the program where the trapped run- time error occurred. For example, the code sample shown below deliberately references the array "nums" beyond its bounds. With the $DEBUG metacommand at the top of the program, the run-time error is reported as: Note that the filename refers to the include file FLIB.FD, but the line number (7) correctly indicates the location in the main program where the error occurred. This can also happen with user-defined include files. RESOLUTIONIf the $DEBUG metacommand is moved to below the include statements, then the correct filename will be referenced. STATUSMicrosoft has confirmed this to be a problem in the products listed at the beginning of this article. This problem was corrected in FORETRAN PowerStation 32, version 4.0. MORE INFORMATIONThis situation also exists with Microsoft FORTRAN version 5.1. Sample Code
Additional query words: 1.00 5.10
Keywords : kberrmsg kbLangFortran |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |