You could use an ini file. it just like a txt file but its is seperated by groups and Items. So you could have an A group and then the 1000 2000 and so on just use a get Item value this.
it would be something like
Every ini.Itemvalue(A,1000) // these are the groups and the items in the group. play A note
you would use the ini object to write your values at the start of the program or make a program to write the file for you and then make it global and read the values as you need them. I think this would be a much easier way to read in from a file and is exactly what you are looking for... Hope this helps.
Thanks for the help Aeal5566, but it's too complexy for me, i am newbie at INI, could you make an little example about that? Or just give me a link with INI tutorial, because i don't understand any of read/write files.
Sure NP I can have a demo for you your gonna have to give me a little time though Ill try to have it to you by the end of the day I have to go to work now but my boss is out today so I think can make a quick demo for you. Its not so bad once you get into it....