Skip to content

Instantly share code, notes, and snippets.

@kryojenik
Created March 3, 2023 22:41
Show Gist options
  • Save kryojenik/00a36d14627e84b5c57a6fa70fb674cb to your computer and use it in GitHub Desktop.
Save kryojenik/00a36d14627e84b5c57a6fa70fb674cb to your computer and use it in GitHub Desktop.
for i = 1, MAX_LOOP do
things...
if exit_loop then
break
end
end
local j = 1
while j <= MAX_LOOP
and not exit_loop do
things
i = i + 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment