Jump to content



Recommended Posts

How can I set an InireadSection to begin reading from a specific value in that section?


1= a
2= b
3= c
4= d
5= e
6= f
7= g
8= h
9= i
10= j

If I use this script it will start from the first value in the Ini:

$ReadPicture = IniReadSection(@ScriptDir & "\Setup.ini", "Numbers")

            For $a = 5 to 10
                For $n = 1 to $ReadPicture[0][0]
                    GUICtrlSetImage(Eval('Picture_' & $a),$ReadPicture[$n][1])

How can I make it start reading from the "5" value?

Edited by Dieuz
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

  • Recently Browsing   0 members

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