how to break out a for loop in lua code example
Example: break in lua
local i = 1
while a[i] do
if a[i] == v then break end
i = i + 1
end
local i = 1
while a[i] do
if a[i] == v then break end
i = i + 1
end