skaboy71 Posted February 26, 2004 Share Posted February 26, 2004 (edited) Could someone please provide an example usage of _FileReadToArray ? I am having a little trouble using it and I think I have the syntax wrong. Thanks so much! Edited February 26, 2004 by skaboy71 I'd rather laugh with the sinners than cry with the saints..... The sinners are much more fun....Only the good die young. -- Billy Joel Link to comment Share on other sites More sharing options...
redndahead Posted February 27, 2004 Share Posted February 27, 2004 DIM $MyArrayVariable _FileReadToArray("C:\My Path\To\File.txt",$MyArrayVariable For $i = 1 to $MyArrayVariable[0] $MsgBoxText = $MsgBoxText & $MyArrayVariable[$i] & @CRLF Next MsgBox(0,"Array Output",$MsgBoxText) Exit This will grab your lines and output them to a msgbox. red Link to comment Share on other sites More sharing options...
Josbe Posted February 27, 2004 Share Posted February 27, 2004 Do you say about the function included in the "AutoIt Installed files"? Another good example AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta 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