Code: Select all
MalzemeListesi := ["eldiven", "seffafeldiven", "enjektor", "abeslang", "bobrekkuveti", "branul", "serumseti", "gazlibez", "insulinenjektoru", "sutureip", "jetokain", "bisturi", "alcipamugu", "alcisargi", "dikloron", "muscoril", "ulcuran"]
Loop % MalzemeListesi.Length()
{
IniRead, outmalzeme, %A_AppData%\Malzemeler.ini, % MalzemeListesi[A_Index]
StringSplit, F, outmalzeme, =
Malzemelerx.Insert := {MalzemeListesi[A_Index]: [F1, F2]}
}
Want to create Malzemelerx array dynamicly.
Like this;
Malzemelerx.Insert{eldiven: ["ELDİVEN NON STERIL", "VAR"]}
In the loop the other one goes like;
Malzemelerx.Insert{seffafeldiven: ["SEFFAF ELDİVEN STERIL", "VAR"]}
Thank you.
![Thumbup :thumbup:](./images/smilies/icon_thumbup.gif)