Kovitt Posted July 29, 2008 Share Posted July 29, 2008 Hello, I have a txt file that I need to filewriteline the contents of it. How do you do this? I would use an array, but the contents of the text file changes every time the script is ran. Any suggestions? Thanks in advance Link to comment Share on other sites More sharing options...
Minikori Posted July 29, 2008 Share Posted July 29, 2008 Hello, I have a txt file that I need to filewriteline the contents of it. How do you do this? I would use an array, but the contents of the text file changes every time the script is ran. Any suggestions? Thanks in advance My guess would be an ini: [var] var=1 and do some variable stuff with that to save it permanently... sorry if I wasn't clear there For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com Link to comment Share on other sites More sharing options...
Skruge Posted July 29, 2008 Share Posted July 29, 2008 Your question is a little vague. Are you trying to append to a file? Are you trying to read the contents of a file and write them to another file? Arrays can be dynamically allocated to accommodate the size of the file... Have you looked at _FileReadToArray and _FileWriteFromArray? [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
Kovitt Posted July 29, 2008 Author Share Posted July 29, 2008 I am sorry... I am trying to read the contents of a file and write them to another file. Link to comment Share on other sites More sharing options...
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