For example:
I have 10 global variables called global1, global2, global3 etc...
I have 10 buttons with instance variable: whatnumber
If I press button 1, can I say:
if button is pressed, add 1 to the global variable [ global & whatnumber ]
Does that make sense? Thanks for the help