function arrayLOAD(FileName2)
if (fs.exists(FileName2) == true) then
dofile(FileName2)
else
local file = io.open(FileName2,"w")
file:write(FileName2.." = {}")
file:close()
dofile(FileName2)
end
end
I use this a lot for storing tables, my question is:
how can I go from:
arrayLOAD("table1")
arrayLOAD("table2")
arrayLOAD("table3")
to:
arrayLOAD("table1", "table2", "table3")
I know that it is not much of a difference but It would save a lot lines!












