assert(file); local data = file:read(“*a”); — 讀取所有內容 file:close(); file = io.open(“c:\\out.lua”, “w”); assert(file); file:write(data);
確定! 回上一頁