whitts Posted November 8, 2007 Posted November 8, 2007 I was wondering if we can write to a file from more than one array at the same time. e.g. I dont want to do it seperately because the second will over write the first. _FileWriteFromArray("MyFile.txt",$Saved &$Second)
Blue_Drache Posted November 8, 2007 Posted November 8, 2007 I was wondering if we can write to a file from more than one array at the same time. e.g. I dont want to do it seperately because the second will over write the first._FileWriteFromArray("MyFile.txt",$Saved &$Second)After the first write, close the file and then open it back up in APPEND mode. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
whitts Posted November 8, 2007 Author Posted November 8, 2007 How do i open it back up in append mode? Thanks
PsaltyDS Posted November 8, 2007 Posted November 8, 2007 I was wondering if we can write to a file from more than one array at the same time. e.g. I dont want to do it seperately because the second will over write the first._FileWriteFromArray("MyFile.txt",$Saved &$Second)The _FileWriteFromArray() function opens the file in overwrite mode. I have submitted a modified version that allows you to pass a file handle instead, so you could open it in a different mode (even with Unicode parameters) before calling the function.Until (if?) that change is accepted, you'll still have to hack that function or do your own. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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