lua io库提供了2种模式来文件处理 ... f = io.open("test.lua", "r+") -- 读取第一行 file:read() -- 关闭打开的文件 file:close() -- 写入内容 file:write("--test") ...
確定! 回上一頁