Moin,
ich hab da ein kleines Problem an dem ich nicht weiter komme:
PHP Code:
$read = IniReadSection(".\ini.ini","offset")
$offsetsreihe = ""
For $i= 1 To $read[0][0]
If $read[$i][1] <> "" Then
$offsetsreihe &= $read[$i][1] & ","
EndIf
Next
MsgBox(0,"",$offsetsreihe)
Inhalt der ini :
Code:
[offset] 1=1 2=2 3=3 4=4
Wie schafft man es das man sich beliebige offsets rauspicken kann.
Angenommen von 1. und 3. Stelle.
Msg box ergebnis : 1,3
damit mein ich aba net sowas :
PHP Code:
MsgBox(0,"",$read[1][1] & "," & $read[3][1] )
PHP Code:
$stelle[1] = [1,3]
Vlt so :
PHP Code:
$read = IniReadSection(".\ini.ini", "offset")
local $stelle[2] = [1, 3]
$offsetsreihe = ""
For $i = $stelle[0] To $stelle
$offsetsreihe &= $read[$i][1] & ","
Next
MsgBox(0, "", $offsetsreihe)