UID651307性别保密经验 EP铁粒 粒回帖0主题精华在线时间 小时注册时间2022-9-24最后登录1970-1-1
|
发表于 2022-9-30 19:18:57 来自手机|显示全部楼层 IP:贵州省
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 |
|