Break in lua

This article is tagged with: Break in lua and lua

break in lua

local i = 1
while a[i] do
if a[i] == v then break end
i = i + 1
end

This article is tagged with: Break in lua and lua