- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I planning to use a fortran program with a GUI built in another programming language, like java, python...
Using SIGNALQQ and IOSTAT I can handle most of the errors that may occur at run-time and record some message to a file, but I can't catch when an array is out of bounds.
One possible solution is to capture the error run-time message window and record it in a file. Is this possible?
Or, can I catch this this type of run-time error in some other way?
Luis
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Array bounds errors cannot be "caught" as signals at this time. I have a feature request in to enable that.
You can define the FOR_DIAGNOSTIC_LOG_FILE environment variable and this will write a copy of diagnostic messages to the named file.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page