1 2 3 4 5 6
for n = 1, 2, 0.1 do print(n) if n == 1.5 then break -- Terminate the loop instantly and do not repeat. end end
1 2 3 4 5 6 7 8 9 10
1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9