pete at lcsql.com
Sun Feb 28 13:34:15 EST 2016
I use a true/false flag which has to be checked at each control structure
level. As far as I know, that's the only way, but maybe not...
On Sun, Feb 28, 2016, 9:37 AM [-hh] <hh at livecode.org> wrote:
> >> Peter H. wrote:
> >> The php break statement has a numeric argument that defines how many
> >> control structures to break out off I sometimes find myself in 3 or 4
> >> nested repeat statements and need to get out of the whole structure if a
> >> particular condition is met in one of the inner structures.
> >> The default would be 1 so no existing code would be affected.
> >> Worth an enhancement request?
> > Mark Wi. wrote:
> > What I'd rather see, and I think Robert Calliau has suggested this
> > before, is the ability to have named loops. Then you could exit from a
> > loop by specifying its name.
> > Dr. Ha. wrote:
> > Yes; this is how modern Fortran does it.
> Worth an enhancement request? Of course, both variants would be valuable.
> I wonder which "workaround" you use until now for that in LC?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode