Hallo,
ich hab folgendes Problem, ich muss jedes 2te Array Ausgeben, wie mache ich das?
Ich vermute mit einer For Schleife aber ich weiß nicht wie!
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form2 = GUICreate("Form2", 188, 95, 210, 142)
$Edit1 = GUICtrlCreateEdit("", 0, 0, 185, 89)
GUICtrlSetData(-1, "foo" & @CRLF & "bar")
GUISetState(@SW_SHOW)
$Auswerten1 = GUICtrlRead($Edit1)
MsgBox(0,"",$Auswerten1)
$Auswerten2 = StringSplit($Auswerten1, @CRLF)
; Hier ist das Problem wenn ich $Auswerten2[2] mache kommt nichts, da soll es dann rüber gehen zu 3 dann zu 5 usw. For schleife?
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd