Authenticity Posted January 23, 2009 Share Posted January 23, 2009 If it's $Name1 through $Name6 and the array is split then you can make the input variable as an array line $Names[6] and again, build a For...Next loop like this: Dim $Names[6], $Arr, $Dummy, $i $Dummy = IniRead(@ScriptDir & '\Test.ini', 'Section', 'Arr', '') $Arr = StringSplit($Dummy, ',') For $i = 1 To $Arr[0] GuiCtrlSetData($Names[$i], $Arr[$i]) Next Forgive me if I don't understand the problem correctly because I don't see any problems to write and read .ini keys and sections... Link to comment Share on other sites More sharing options...
marko001 Posted January 23, 2009 Author Share Posted January 23, 2009 @AZKay, @ Authent: Thanks so much, solved it exactly as you told and it works perfectly. Thanks again!, Problem Solved, thread can be close. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now