Sign in to follow this  
Followers 0
stev379

Where's _FileWriteFromArray?

5 posts in this topic

The help file shows the code below for "_FileWriteFromArray", but I get an undefinded function on _FileWriteFromArray", and I'm unable to find it, in either the Array.au3 or File.au3 Include files.

I'm using the latest beta.

I searched the AutoIT folder for files containing the text "_FileWriteFromArray", but only got back the help file reference. :P

Any ideas where can find this function? Or can someone post a copy of their include file with that function?

Thanks!

#include<Array.au3>
#include<File.au3>
Dim $a_Test
; Read file into array
_FileReadToArray("test.txt",$a_Test)
; reverse records
_ArrayReverse($a_Test,1)
; write reversed array to file
_FileWriteFromArray("test2.txt",$a_Test,1)

Share this post


Link to post
Share on other sites



The help file shows the code below for "_FileWriteFromArray", but I get an undefinded function on _FileWriteFromArray", and I'm unable to find it, in either the Array.au3 or File.au3 Include files.

I'm using the latest beta.

I searched the AutoIT folder for files containing the text "_FileWriteFromArray", but only got back the help file reference. :P

Any ideas where can find this function? Or can someone post a copy of their include file with that function?

Thanks!

#include<Array.au3>
#include<File.au3>
Dim $a_Test
; Read file into array
_FileReadToArray("test.txt",$a_Test)
; reverse records
_ArrayReverse($a_Test,1)
; write reversed array to file
_FileWriteFromArray("test2.txt",$a_Test,1)
It works for me. Are you running it using ALT+F5 from SciTe


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

It works for me. Are you running it using ALT+F5 from SciTe

Yup. Which Include file is your _FileWriteFromArray stored in?

_FileReadToArray works fine for me.

Edited by stev379

Share this post


Link to post
Share on other sites

Yup. Which Include file is your _FileWriteFromArray stored in?

_FileReadToArray works fine for me.

It is in file.au3


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

It is in file.au3

OK. I found it. I must not have extracted things properly on this PC. It was in the original folder I downloaded the beta version to.

Thanks BigDod!

Share this post


Link to post
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
Sign in to follow this  
Followers 0