Variables in switch statements

Thanks for the quick replies guys.

Hmm, I've never had a problem with not being able to store the codes in an int, unless of course the wraparound would be the same.
Anyway, I've solved the problem by making the variables that store the codes for each button constants.

const int power = XXXXXXXXXXX;

AWOL, what's a lookup and how do I use it?