Well, I have a very simple and yet complicated question.
I have 10 flags, all are called 'check', each has a unique identifier from 1 to 10. When I click a button in my application, I want to know which flags are checked and which are not.
I am sure the answer is very simple, but I can’t figure out how I can do this. I have a code for the button, I can’t decide how to check each flag by identifier, when they are all called “check”. I hope one of you guys can help me.
source
share