duplicate
This commit is contained in:
parent
17fa0ec9e7
commit
9a1e297ee3
|
@ -56,16 +56,6 @@ function save_to_disk(State)
|
||||||
outfile:close()
|
outfile:close()
|
||||||
end
|
end
|
||||||
|
|
||||||
function file_exists(filename)
|
|
||||||
local infile = App.open_for_reading(filename)
|
|
||||||
if infile then
|
|
||||||
infile:close()
|
|
||||||
return true
|
|
||||||
else
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- for tests
|
-- for tests
|
||||||
function load_array(a)
|
function load_array(a)
|
||||||
local result = {}
|
local result = {}
|
||||||
|
|
Loading…
Reference in New Issue