home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 January / PCWELT_1_2006.ISO / pcwsoft / autoit-v3-setup.exe / Examples / _FileReadToArray.au3 < prev    next >
Encoding:
Text File  |  2005-02-02  |  257 b   |  10 lines

  1. #include <file.au3>
  2. Dim $aRecords
  3. If Not _FileReadToArray("error.log",$aRecords) Then
  4.    MsgBox(4096,"Error", " Error reading log to Array     error:" & @error)
  5.    Exit
  6. EndIf
  7. For $x = 1 to $aRecords[0]
  8.     Msgbox(0,'Record:' & $x, $aRecords[$x])
  9. Next
  10.