TRY Statement

The TRY statement provides a general error/fault protection mechanism that allows a program to maintain normal flow of control.

<try statement>

── TRY ─┬─<try normal form>──┬─────────────────────────────────────────┤
        └─<try limited form>─┘

<try normal form>

              ┌◄────────────────────┐
──<statement>─┴─ ELSE ──<statement>─┴──────────────────────────────────┤

<try limited form>

── [ ──<error procedure>── ] ─┬─<procedure invocation statement>─┬─────┤
                              └─<procedure reference statement>──┘

<error procedure>

A procedure identifier that is not imported or declared external or formal.