Re: Saving Data
Posted: Sat Jul 06, 2013 12:59 pm
This:Lemony Lime wrote:I've got it mostly sorted out, but there's one more big problem. How do you read either a specific byte or specific line of a file? Either way works. If it's not possible, then love just can't do what I'm trying to do. love.filesystem.lines and file:read don't work, because they force you to start at the beginning of the file. I need to be able to pick a line or a byte at will and read it directly.
Hope this helped! I don't know how to read a specific line, unless you break it down and read it from a table like I've done.love.filesystem.read( "filename.extention", numOfBytesToRead(number value) )