HI,
???
So geht es bei mir zumindest ohne Fehler.
[autoit]$KDP = "test.ini"
Global $MFIY, $HFIY, $AFIY
$XC = IniRead($KDP, "ACK", "XC", "Du hast den Wert XC verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.");Dieses hier liefert immer "Du hast den Wert XC verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt."
$MC = IniRead($KDP, "ACK", "MA", "Du hast den Wert MA verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.");Die hier das richtige
$HC = IniRead($KDP, "ACK", "HA", "Du hast den Wert HA verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.")
$AC = IniRead($KDP, "ACK", "AA", "Du hast den Wert AA verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.")
$MK = IniRead($KDP, "MAK", $MFIY, "Du hast den Wert " & $MFIY & " verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.")
$HK = IniRead($KDP, "HAK", $HFIY, "Du hast den Wert " & $HFIY & " verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.")
$AK = IniRead($KDP, "AAK", $AFIY, "Du hast den Wert " & $AFIY & " verändert! Frage Fast2 doch einmal ob er dir eine neue INI gibt.")
MsgBox(0, "INI", $XC);Hier sieht man die falsche Ausgabe von $XC
MsgBox(0, "INI", $MC)
MsgBox(0, "INI", $HC)
MsgBox(0, "INI", $AC)
MsgBox(0, "INI", $MK)
MsgBox(0, "INI", $HK)
MsgBox(0, "INI", $AK)
$NU = $XC & $MC & $HC & $AC & $MK & $HK & $AK
If Not StringIsDigit($NU) = 1 Then MsgBox(0, "Test", "Test");Die kommt immer
Select
Case StringIsDigit($XC) = 0;Die auch
MsgBox(0, "Test", "Test1")
Case StringIsDigit($MC) = 0
MsgBox(0, "Test", "Test2")
Case StringIsDigit($HC) = 0
MsgBox(0, "Test", "Test3")
Case StringIsDigit($AC) = 0
MsgBox(0, "Test", "Test4")
Case StringIsDigit($MK) = 0
MsgBox(0, "Test", "Test5")
Case StringIsDigit($HK) = 0
MsgBox(0, "Test", "Test6")
Case StringIsDigit($AK) = 0
MsgBox(0, "Test", "Test7")
EndSelect
So long,
Mega