Consider the addition of a command to exit a nested repeat loop:
Code: Select all
repeat with... --top level
  repeat with... --second level
    repeat with...  --third level
      repeat with...   --fourth level
        exit repeat "all" --would bring the entire nest down
      end repeat
    end repeat
  end repeat
end repeatPerhaps it might be useful to have the option to exit a fixed number of layers:
Code: Select all
exit repeat "2" --the "2" being the repeat layer number (or perhaps the number of layers "upwards"?).Craig Newman
