PDA

View Full Version : Listing runtime error messages


R. T. (Fortran Man)
08-22-2003, 05:36 PM
How can I get a list of all the runtime error numbers, and find out what they mean?

Lahey Support
08-22-2003, 09:19 PM
Runtime error messages are listed in a file called RTerrMsg.txt (Windows), or RTERRMSG (Linux). In addition, any error that occurs during execution of a statement having a status variable can have the associated error message retrieved by using the IOSTAT_MSG subroutine.
The attached program shows how to print a list of all runtime messages to a file called "lf95errs.txt" by invoking the IOSTAT_MSG subroutine. This program will work under both Windows and Linux.