Hi savnik,

See if I read you correctly.
You want the user to be able to press a series of buttons, on your keypad. You would like the PIC to take this series of separate button values and “string them together” (“concatenate” them). Then use them as a PIC WORD variable in your program.

You are able to read the individual button presses, but are having trouble putting them together to make the variable.

Is that close?

-Adam-