Subject | Re: [firebird-support] Helen's book: Break partially implemented in FB 1.0x? |
---|---|
Author | Ann W. Harrison |
Post date | 2005-05-17T20:54:19Z |
Kevin Stanton wrote:
labeled loops and leave statements that take a loop label as an
argument. BREAK can only exit one level of loop. Over time, LEAVE will
allow you to choose the loop level you want to exit from... BREAK was
one of the first efforts made to expose underlying capabilities after
Firebird started... a good idea, but one that we didn't think through
quite far enough. LEAVE is the next generation and shows more promise.
Regards,
Ann
> Question:Use LEAVE rather than BREAK. At the BLR level, Firebird implements
> Should I not rely on the Break statement?
labeled loops and leave statements that take a loop label as an
argument. BREAK can only exit one level of loop. Over time, LEAVE will
allow you to choose the loop level you want to exit from... BREAK was
one of the first efforts made to expose underlying capabilities after
Firebird started... a good idea, but one that we didn't think through
quite far enough. LEAVE is the next generation and shows more promise.
Regards,
Ann