Jump to content

filewriteline txt file contents


Recommended Posts

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 :P

Link to comment
Share on other sites

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 :P

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...