file
Functions for reading from and writing to files in the photon data folder.
Last updated
Functions for reading from and writing to files in the photon data folder.
Last updated
local data = "hello!"
file.write("test.txt", data)
local read_data = file.read("test.txt") -- returns "hello!"
print(read_data)