Champak Posted November 21, 2021 Posted November 21, 2021 Is there a way to append an array to the end of a file, or a specific line? Or do I have to do a loop with the array and filewritetoline?
Subz Posted November 21, 2021 Posted November 21, 2021 You can use _ArraytoString with @CRLF as the delimiter, then use FileWriteToLine. JockoDundee 1
JockoDundee Posted November 21, 2021 Posted November 21, 2021 You can also use _FileWriteFromArray. To append you need to open the file using FileOpen with $FO_APPEND and use that handle with _FileWriteFromArray. Subz 1 Code hard, but don’t hard code...
Champak Posted November 21, 2021 Author Posted November 21, 2021 Both great, I'll try both see which is faster. Thanks.
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