Subject Re: [IB-Architect] enhancement to procedure/trigger language
Author Jim Starkey
At 03:11 PM 6/6/01 -0400, Ann W. Harrison wrote:
>
>The underlying BLR has a label and leave structure that
>allows the code to break out of specific loop levels.
>What should we use for language? One suggestion is to
>emulate the label/leave model. Another is to use the
>C/Delphi style 'break'.
>

I'm rather partial to label/leave construct. It is the
only construct I'm aware of that allows an exit from
two loop levels without resorting to a dispicable "goto"
(oh, it hurts even to type it in quotes).

As far as I know, there isn't an accepted syntax for
labeled blocks. The obvious candidate is:

statement := <label> : <statement>
label := <identifier>

Jim Starkey