Feche1320 Posted May 30, 2011 Share Posted May 30, 2011 I am making my own chat log system, but there is a minor problem: When I open the file using fileRead, it will start writting at pos 0 and it will overwrite any existing text, and I need it to start writing from the end, how can I do this? Thanks Link to comment
laserlaser Posted May 30, 2011 Share Posted May 30, 2011 The files in the .zip? If files in the .zip, extract files. ((( Sorry for bad english, I'm Turk ))) Link to comment
BinSlayer1 Posted May 30, 2011 Share Posted May 30, 2011 fileSetPos(fileElement, fileGetSize(fileElement)) I think ^ is what you are looking for. You should execute that line right after opening the file to write. Link to comment
Feche1320 Posted May 30, 2011 Author Share Posted May 30, 2011 fileSetPos(fileElement, fileGetSize(fileElement))I think ^ is what you are looking for. You should execute that line right after opening the file to write. Yes!! It was this, thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now