Subject | Re: [IB-Architect] enhancement to procedure/trigger language |
---|---|
Author | Jim Starkey |
Post date | 2001-06-06T19:22:15Z |
At 03:11 PM 6/6/01 -0400, Ann W. Harrison wrote:
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
>I'm rather partial to label/leave construct. It is the
>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'.
>
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