All pastes #420346 Raw Edit

Stuff

public lua v1 · immutable
·published 2007-04-02 02:09 UTC
rendered paste body
_file = {}function _file.Read(fn)	local f = io.open(fn,"r")	local r = f:read("*all")	f:close()	return rendfunction _file.Write(fn,...)	local f = io.open(fn,"w")	f:write(unpack(arg))	f:close()endfunction _file.Exists(fn)	if io.open(fn,"r") then		return true	end	return falseend