home *** CD-ROM | disk | FTP | other *** search
- /* CHESS FUNCTION(S): ERRORP.CHS -- standalone Chess program file
- /* DATE: 3/1/93
- /* AUTHOR: C. Schanck
- /*
- /* DESCRIPTION: This routine, when used from the DOS command line
- /* will do error parsing on the file you ask it to edit.
- /*
- /* Suppose you have your error output in the file ERRS.
- /* useing the command line
- /* be -cerrorp.chs errs.
- /* will start Bingo, load ERRS and Parse it automatically for the first
- /* error in ERRS.
- {
- char ename[80];
- int i;
-
- /* get the complete filename
- ask("file_path",ename)
- ask("file_name",ename+strlen(ename))
-
- return(parse_errs(ename)); /* parse those errors!!!!
- }
- parse_errs /* this parses the error file passed in
- char errname[0];
- {
- int i;
- set_display(1);
-
- Window_one(); /* one window
- Window_split(); /* split window
- Window_previous();
- Window_max();
-
- key("up_arrow");
- key("up_arrow");
- key("return");
- Window_resize();
- Setup_err_parse(errname);
-
- update_display();
- set_display(1);
-
- return(Next_error());
- }