Lua 可使用 assert 和 error 函数来处理错误 ... 检测异常,检测是否为数字 if not tonumber(result) then error("invalid input number") end ...
確定! 回上一頁