Code:
If Open(1,"my.log") = 0
   $strLine = ReadLine(1)
   While @ERROR = 0
      If Instr($strLine,"Skipped with error") <> 0
         ? "Found it!"
      EndIf
      $strLine = ReadLine(1)
   Loop
EndIf


this example works for me. But how is the best way to parse only the last found line in the log file? i dont need all lines, which the phrase is found, i only need the last line

thanx in advance


Edited by Kaiminator (2008-09-25 01:45 PM)