Hi,
I have an ini file in the following format

[DataToRead]
1=1000
2=2000
3=3000
x=4000
etc

I also have an array called arraydatareadini

How do I read the data from the ini file and store it in the above array.

Also, the amount of data is not fixed - ie more could be added so x is changes.

Thank you.