Sign in to follow this  
Followers 0
Bounda

INI Duplicates Help

2 posts in this topic

Alright, this may be confusing but ill try to explain:

Ive created a program that reads from lines of a txt file, and converts them into an INI file. There are bound to be MANY duplicates of something in the ini, and i want to display the ini in a GUI list. Instead of showing an item 4 times in the list, i want it to say Item x 4, how do i do this??

Share this post


Link to post
Share on other sites



Alright, this may be confusing but ill try to explain:

Ive created a program that reads from lines of a txt file, and converts them into an INI file. There are bound to be MANY duplicates of something in the ini, and i want to display the ini in a GUI list. Instead of showing an item 4 times in the list, i want it to say Item x 4, how do i do this??

Read all the ini values to a array. Check every item in that array against every other item. If the items match, delete one of the items and add a number behind one of the values. Then put that new array into the GUI.

Share this post


Link to post
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
Sign in to follow this  
Followers 0