徐小辰
发表于 2022-9-30 19:18:57
io_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
endio_wr = function(Path, Data)
local File, Error
if Data then
File, Error = io.open(Path, "w")
if not File then
return false, Error
end
File:write(Data)
File:close()
else
File, Error = io.open(Path, "r")
if not File then
return false, Error
end
Data = File:read("*a")
File:close()
return Data
end
end
161309340
发表于 2022-9-30 19:37:26
666666666666666666
gfddg
发表于 2022-9-30 19:47:26
6666666666666
Fangzhiqing555
发表于 2022-9-30 20:22:49
这这玩意做的挺不错的呀
计算机考什么
发表于 2022-9-30 20:38:50
i简直就是时间就是几点下课小鸡小鸡睡觉
大树
发表于 2022-10-1 08:36:07
…………………………
,。Z
发表于 2022-10-5 21:06:02
66666666666
,。Z
发表于 2022-10-5 21:07:39
666666666666
小火爆
发表于 2022-10-6 08:03:32
j。。。。。。。。
chuye320
发表于 2022-10-6 08:04:39
感谢分享