previous up next print clean
Next: About this document ... Up: Clapp & Claerbout: RATional Previous: DOWNLOADING/INSTALLING

ERROR HANDLING

Ratfor90 creates a file called ratfor_problem whenever it encounters and error in the source code. The ratfor_problem file contains the processed source code, with the line that caused the processor problems clearly delineated. For example if you misspelled if in a source file:
 iff(a .eq. b){
and ran the Ratfor90 processor you would see:
ERROR:
 Problem finding acceptable bracket statement 
I was looking for do, module,subroutine, etc before a {
and couldn't find it (spelling?????) 
wrote file as far as I got to ratfor_problem
written to stderr and in the file ratfor_problem
ERROR BEFORE ERROR
   iff(a .eq. b){
ERROR AFTER
the location of the error is clearly indicated. The next time ratfor90 is run, the ratfor_problem file is removed.


previous up next print clean
Next: About this document ... Up: Clapp & Claerbout: RATional Previous: DOWNLOADING/INSTALLING
Stanford Exploration Project
10/9/1997