+=================================+ | | | IFERR | | | +=================================+ SUMMARY The Iferr program gives the user a measure of conditional control over his submit file execution. Iferr examines a specified compiler listing, ascertaining whether the compiler found errors. If so, the first block of submit file commands is executed; otherwise, the second block of commands is executed. SAMPLE INVOCATION IFERR :F1:PROG.LST SAMPLE USE: Given the submit file: +---------------------------------------------------------------+ | | | PLM80 :F1:PROG.SRC | | | | IFERR :F1:PROG.LST | | EDIT :F1:PROG.SRC ^E | | LOOP | | ELSE | | LINK :F1:PROG.OBJ,SYSTEM.LIB,PLM80.LIB TO :F1:PROG.LNK | | LOCATE :F1:PROG.LNK | | ENDIF | | | +---------------------------------------------------------------+ if the module summary in the program listing reveals errors, then the user enters the editor to fix the program source, and the Loop program forces execution to resume at the beginning of the submit file. If there are no errors, then the object file produced is linked and located. FORMAL SPECIFICATION The syntax is: IFERR [?] where is the ISIS pathname of a listing file. IFERR cond : * if cond is true : * this is executed ELSE : * if cond is not true : * this is executed ENDIF IFERR commands can be nested: IFERR cond : * if cond is true : * this is executed IFERR cond : * if cond is true : * this is executed ELSE : * if cond is not true : * this is executed ENDIF ELSE : * if cond is not true : * this is executed ENDIF SEE ALSO loop.doc, pause.doc