12.07.2016, 13:14
Quote:
Well, I have already tried with enumerator. I used a variable to store the id for each report.
But actually, my problem is , that i don't know how to delete one item/report only from that list. |
All you need to do is reset the enum:
Код:
new tmpReport[eReport] //'eReport' being the name of your enum clearly Report[reportID] = tmpReport //this sets that specific enum instance to your enum defaults(so basically empties the enum at Report[reportID])
I don't know if any of that make sense, it's kind of hard to explain. If not, could you post your code please, and I can help you that way.