Skip to content

Instantly share code, notes, and snippets.

@fractaledmind
Created September 16, 2013 17:42
Show Gist options
  • Select an option

  • Save fractaledmind/6583972 to your computer and use it in GitHub Desktop.

Select an option

Save fractaledmind/6583972 to your computer and use it in GitHub Desktop.
set aList to {"1", "2", "3", "4", "5"}
repeat with anItem in aList -- # actual loop
try
set value to item 1 of anItem
if value = "3" then error 0 -- # simulated `continue`
log value
end try
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment