Also, ich hab eine Ini mit Folgendem Inhalt:
Ich will Line0-2 automatisch laden lassen und habs mal so versucht:
[autoit]$readqc = IniReadSection("config.ini","Quickchat")
$string2 = ""
Global $lines[Ubound($readqc, 1)]
For $i = 0 To Ubound($readqc, 1)
$string2 &= $readqc[$i][1]
$lines[1] = $readqc[$i][1]
Next
GUICtrlSetData($Edit1,$string2)
If _GUICtrlEdit_LineLength($Edit1) > 64 Then
GUICtrlSetData($Edit1,"Too many characters")
Else
GUICtrlSetData($Edit1,$string2)
EndIf
$lines wurde natürlich als Array definiert:
[autoit]Global $lines[1]
[/autoit]Im Moment schließt sich die die GUI immer nach start... Syntax hat keine Fehler hervorgerufen...