... typical Lua idiom: if io.open fails, assert will raise an error. file = assert(io.open("no-file", "r")) --> stdin:1: no-file: No such file or directory ...
確定! 回上一頁