I like that better. It's more inline with LC's English-like structure. It also removes a potential problem with the break number if you add or remove a control structure. Is there already an enhancement request for it?
On Sat, Feb 27, 2016 at 1:21 PM Mark Wieder <mwie...@ahsoftware.net> wrote: > On 02/27/2016 12:53 PM, Peter Haworth wrote: > > > Worth an enhancement request? > > 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. > > repeat ..... as outerLoop > repeat..... as loopyLoop > repeat..... as innerLoop > if <condition> then exit loopyLoop > end repeat -- end of innerLoop > end repeat -- end of loopyLoop > -- after the 'exit loopyLoop' the script continues here > end repeat -- end of outerLoop > > -- > Mark Wieder > ahsoftw...@gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode