Jump to content

Write from more than one array


whitts
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...