Champak Posted November 21, 2021 Share 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? Link to comment Share on other sites More sharing options...
Subz Posted November 21, 2021 Share Posted November 21, 2021 You can use _ArraytoString with @CRLF as the delimiter, then use FileWriteToLine. JockoDundee 1 Link to comment Share on other sites More sharing options...
JockoDundee Posted November 21, 2021 Share 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... Link to comment Share on other sites More sharing options...
Champak Posted November 21, 2021 Author Share Posted November 21, 2021 Both great, I'll try both see which is faster. Thanks. Link to comment Share on other sites More sharing options...
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