what return .filesystem.read()?
Posted: Sun Jul 10, 2016 12:43 am
Hello,
Can anyone tell me what really return the function love.filesystem.read()?
like...
filename = "the/directory/to/the/file"
word=love.filesystem.read(filename)
I have a file contain just words that beginning with 'A' and I write the directory for the file, but when I print [love.graphics.print(word)] it says nil
How can I show the contents of the file?
Can anyone tell me what really return the function love.filesystem.read()?
like...
filename = "the/directory/to/the/file"
word=love.filesystem.read(filename)
I have a file contain just words that beginning with 'A' and I write the directory for the file, but when I print [love.graphics.print(word)] it says nil
How can I show the contents of the file?