Jump to content

INI Duplicates Help


Bounda
 Share

Recommended Posts

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??

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...