i have a 12 chanel remote conected to my arduino. i found out i need more the 12 buttons to do all the things i need to do. so i was thinking thar i could use a var to catch the input.
You could either put the values in an array (one element per switch) or store them as bits in an integer big enough to hold all of them (the standard types give you 8, 16, 32, 64 bits to choose from).
The array would be easier to access but take more space, which would only be an issue if you are short of memory or need to send these values over a communications link at high speed.