steelsking 0 Posted August 11, 2011 hi everyone, For $j = 1 To $Search[0][0] For $i = $LastEOF + 1 To $aRecords[0] Step 1 $aParts = StringSplit($aRecords[$i], @TAB) If IsArray($aParts) And (UBound($aParts) >= 5) And ($aParts[2] = $Search[$j][1]) Then If Not _FileReadToArray($Temp, $aTemp) Then MsgBox(4096, "Error", "Error reading templog to Array error: " & @error) Exit EndIf If (_ArraySearch($aTemp, $aParts[3] & @TAB & $aParts[4]) = -1) Then FileWriteLine($Temp, $aParts[3] & @TAB & $aParts[4]) ;Run(@ComSpec & " /c " & $Paging, "", @SW_HIDE) MsgBox(0, "", $aParts[3] & @TAB & $aParts[4]) EndIf EndIf Next Next i have 2 For loops. it is not working though. i guess u can't a for loop inside another for loop... can someone please help me out here? thanks. Share this post Link to post Share on other sites
bogQ 91 Posted August 11, 2011 (edited) Ofc you can, try it on simpler example and youl see itl work, For $x = 1 To 10 For $y = 1 To 10 MsgBox(0,$x,$y) Next Next Edited August 11, 2011 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Share this post Link to post Share on other sites