Posted 18 May 2018 - 04:11 PM
code:
when i try to see in the file then the content (does matter what string i give it) all ways is "{}" evrey time?
why this? this is.
this is the only thing useing fs api in my program so i don't fell like showing the hole program here, besides the program is 500 lines long
local path = "/.VIEW_TMP"
local file = fs.open(path, "w")
file: write("this is truned of right now")
file: close()
when i try to see in the file then the content (does matter what string i give it) all ways is "{}" evrey time?
why this? this is.
this is the only thing useing fs api in my program so i don't fell like showing the hole program here, besides the program is 500 lines long