Jump to content

Help: Copying Array datas to INI file


 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...