Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save osdouglas/6bb323beca1a61740114f001b52624be to your computer and use it in GitHub Desktop.
Save osdouglas/6bb323beca1a61740114f001b52624be to your computer and use it in GitHub Desktop.
for idx = 1, 5 do repeat
print(1)
print(2)
print(3)
do break end -- goes to next iteration of for
print(4)
print(5)
until true end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment