Here is the code:
function new(data,page) f = io.open(page,"w") for _,line in ipairs(data) do f:write(line,"\n") end f:close(page) endHere is the line that calls the code:
new({"Hello World!,"Lua is cool"},"test")
Here is the file:Hello World!Lua is cool











