Jump to content
Sign in to follow this  
Guest awestley

Help Creating new text file

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.


Share this post

Link to post
Share on other sites

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]

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.