PDA

View Full Version : Getting multiply Valuenames form INI


volt
04-09-2006, 12:21 AM
Is it possible to get all the values from multiple value names that are the same but are in different sections? Thanks


Example of ini

[04-09-2006_01-01-50]
Link= 11111111111111
Info= 111111111
Misc= 222222222
[04-09-2006_01-12-27]
Link= 111111111
Info= 111111111
Misc= 222222222

TJ_Tigger
04-09-2006, 08:49 AM
Yes it is. What I would do is get the section names, then loop through those with a for loop and get the value of the value name you want if available and then on to the next.

volt
04-09-2006, 08:51 AM
Thanxs TiGGeR,
Not to good @ looping stuff, but I will try it a post back if I can't figure it out. :D

volt
04-09-2006, 09:39 AM
Got it!!! =P