Possible enhancement

Mark Wieder mwieder at ahsoftware.net
Sat Feb 27 16:21:17 EST 2016


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
  ahsoftware at gmail.com




More information about the use-livecode mailing list