| | 1.4 BEGIN..EXIT..EXITIF..END |
 | | The EXIT and EXITIF statements are structured gotos because they do not let you jump to an arbitrary point in the code, they only let you exit from a block delimited by the BEGIN..END pair. |
 | | Typically, you would use this technique to exit a block of code on some special condition and the TRY..ENDTRY statement would be inappropriate (e.g., you might need to pass values in registers to the outside code, an EXCEPTION clause can't guarantee register status). |
 | | This is true for the EXITIF statement as well, though, of course, the program will only exit the procedure if the boolean expression in the EXITIF statement evaluates true. |
| webster.cs.ucr.edu /AoA/Linux/HTML/AdvancedCtrlStructuresa2.html (1450 words) |