hello, i have a simple script right here that i will later use to recover recipes after a boot However the file i am editing never has any changes occur to it. no errors. I am pointing to the correct file (file:read returns what i edit in)
local serialutil = require("serialization")
local term = require("term")
local fs = require("filesystem")
file = fs.open("/data/recipes.txt",w)
local a = serialutil.serialize("words, letters, phrases")
file:write(a)
file:close()
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
hello, i have a simple script right here that i will later use to recover recipes after a boot However the file i am editing never has any changes occur to it. no errors. I am pointing to the correct file (file:read returns what i edit in)
Link to post
Share on other sites