|
Post by ahmish on Aug 28, 2022 10:29:42 GMT
Reading and writing to text files works for me but the io.open(pathlocation, "a+") doesn't work
f = io.open(pathlocation, "r")
print(f:read())
f = io.open(pathlocation, "a")
f:write("") below doesn't work for reading but works fine with write
f = io.open(pathlocation, "a+")
print(f:read()) -- result is NIL, type is userdata f:write("") works fine
|
|