以只读方式打开文件file = io.open("test.lua", "r") -- 设置默认输入文件为test.lua io.input(file) -- 输出文件第一行print(io.read()) -- 关闭打开的 ...
確定! 回上一頁