Code: Select all
data, size = love.filesystem.read("opts.txt", all )
a = data * 1
love.filesystem.write("opts.txt", a, all )
Code: Select all
stuff = {}
for line in love.filesystem.lines ("opts.txt") do
table.insert (stuff, line)
end
a = stuff[1] * 1
love.filesystem.write("opts.txt", a, all )
So, Could someone please tell me what I am doing wrong?
Thanks in advance.