Jump to content

Help Creating new text file

Guest awestley

Recommended Posts

Guest awestley

This is probably going to sound really stupid, but I am reading a file and parsing it out to an array.

From the array I need to write the information back into a new text file.

I know that I could append the existing file, but that can cause issues since I don't know how many lines the existing file will have.


Link to comment
Share on other sites

  • Developers

Don't understand what the issue is..

If you have an Array and Array[0] contains the number of entries, you could just do:

For $x = 1 to Array[0]

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

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

  • Recently Browsing   0 members

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