Matrix Keypad - Optimisation

too bad we can't combine them; 'case xx:' needs to be a discrete value for xx:

int value = 0;
void setup(){}
void loop(){
value = analogRead(keypess); // or whatever the read statement is
  switch (value)
  {
    case (value<25):
// do something
    break;

    case (value>25 && value <68):
// do something else
    break;
  }
}