Keeping it COBOL, there is some masterful documentation relating to the probable conceptual origin of try/catch (COBOL's DECLARATIVES) *
However, there are bits of the concept which were left out: "A declarative procedure can be performed from a nondeclarative procedure. A nondeclarative procedure can be performed from a declarative procedure. A declarative procedure can be referenced in a GO TO statement in a declarative procedure. A nondeclarative procedure can be referenced in a GO TO statement in a declarative procedure. You can include a statement that executes a previously called USE procedure that is still in control. However, to avoid an infinite loop, you must be sure there is an eventual exit at the bottom. The declarative procedure is exited when the last statement in the procedure is executed." * this statement may include an assumption with which others disagree ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
