stev379 Posted January 5, 2006 Share Posted January 5, 2006 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. 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) Link to comment Share on other sites More sharing options...
BigDod Posted January 5, 2006 Share Posted January 5, 2006 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. 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 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 Link to comment Share on other sites More sharing options...
stev379 Posted January 5, 2006 Author Share Posted January 5, 2006 (edited) It works for me. Are you running it using ALT+F5 from SciTeYup. Which Include file is your _FileWriteFromArray stored in?_FileReadToArray works fine for me. Edited January 5, 2006 by stev379 Link to comment Share on other sites More sharing options...
BigDod Posted January 5, 2006 Share Posted January 5, 2006 Yup. Which Include file is your _FileWriteFromArray stored in?_FileReadToArray works fine for me.It is in file.au3 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 Link to comment Share on other sites More sharing options...
stev379 Posted January 5, 2006 Author Share Posted January 5, 2006 It is in file.au3OK. 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! 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