--...表示课可见参数

function alert(...)
t = {...}
for k , v in pairs(t) do
print(v)
end
end

alert ("你好吗",{"error","warning"})

相关文章: