设置默认输入文件为test.lua. io.input(file). -- 输出文件第一行. print (io.read()). -- 关闭打开的文件. io.close(file). -- 以附加的方式打开只写文件.
確定! 回上一頁