SyntaxFix
Write A Post
Hire A Developer
Questions
We can achieve it as below, it will skip even numbers
local len = 5 for i = 1, len do repeat if i%2 == 0 then break end print(" i = "..i) break until true end
O/P:
i = 1 i = 3 i = 5