Guest awestley Posted June 24, 2004 Posted June 24, 2004 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. Thanks
Developers Jos Posted June 24, 2004 Developers Posted June 24, 2004 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] filewriteline("newfile",Array[$x]) Next 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.
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