LCD Keypad Shield – Entering and Storing Numbers

A very good example from jurs!

I have a question: How do you set a variable = to value?

 case btnSELECT: 
      Serial.print("Saved value: ");
      Serial.println(value);
      strcpy(value,"00000");
      cursorPos=0;
      break;

What I mean is at present the number is "stored" and printed to Serial. What I would like to do is to have this number stored in a variable.