Nubie Posted October 23, 2016 Posted October 23, 2016 I have a sample text file Quote aa^^bb^^cc 11^^22^^33 Now I try read it to Array #include <Array.au3> #include <File.au3> Local $Test _FileReadToArray(@ScriptDir & "\test.txt", $Test, 0, '^^') _ArrayDisplay($Test, "Test") And it showed this Then I try change all to default "|", it's worked fine Bug or do I something wrong?
Jfish Posted October 23, 2016 Posted October 23, 2016 (edited) #include <Array.au3> #include <File.au3> Local $Test _FileReadToArray(@ScriptDir & "\test.txt", $Test, 4, '^^'); change $iFlags parameter from 0 to 4 _ArrayDisplay($Test, "Test") Edited October 23, 2016 by Jfish Nubie 1 Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt
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