LUA END code example
Example 1: elseif lua
if op == "+" then
r = a + b
elseif op == "-" then
r = a - b
elseif op == "*" then
r = a*b
elseif op == "/" then
r = a/b
else
error("invalid operation")
end
Example 2: break in lua
local i = 1
while a[i] do
if a[i] == v then break end
i = i + 1
end