Hello, y'all!
I want to dynamically build a pp menu from the contents of an ini file.  
Based on the ini below, it should have three submenus corresponding to 
section1, section2 and section3 but not section4.  When I click on the 
item in the menu, it should open the corresponding file.  The menu name 
should be the same as the ini key name.  Where do I start?  I think I 
need to create a vector, but I am not sure how to loop through each 
section to get all the info.  The sections are constantly being added to 
by another script, so they may have 3 entries each today, but tomorrow 
they will each have 4.  One good thing is that they should always have 
the same amount of entries.

[section1]
george1=somefolder/somefile1.ext
george2=somefolder/somefile2.ext
george3=somefolder/somefile3.ext

[section2]
harry1=somefolder/somefile4.ext
harry2=somefolder/somefile5.ext
harry3=somefolder/somefile6.ext

[section3]
mike1=somefolder/somefile7.ext
mike2=somefolder/somefile8.ext
mike3=somefolder/somefile9.ext

[section4]
item=somethingelse
item1=anotherinfo







[Non-text portions of this message have been removed]

Reply via email to