skaboy71 0 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 Share this post Link to post Share on other sites
redndahead 0 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 Share this post Link to post Share on other sites
Josbe 1 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 Share this post Link to post Share on other sites