What I am trying to do is make a function that runs through a list of types and deletes the ones that have the same content.
type test
field x
field y
end type
I want to be able to trim the list of types down so no two types have the same content for the two fields. How would you go about doing this?
For instance, lets say that this was the content of five types:
1,0
3,4
5,2
2,4
5,2
Then what I would like to end up with is only four types and have one of the ones that are repeated deleted.
type test
field x
field y
end type
I want to be able to trim the list of types down so no two types have the same content for the two fields. How would you go about doing this?
For instance, lets say that this was the content of five types:
1,0
3,4
5,2
2,4
5,2
Then what I would like to end up with is only four types and have one of the ones that are repeated deleted.