LCD keypad shield with arduino uno

smith88:
i just want to set the integer value..., i think the control structure "for" might help.. :D. is it wrong??

I think not. The for loop, if you have first read what a for loop does before writing with it, only increments your value from 0 to 101 and that is without looking at what your buttons are doing.

You will not likely use a for loop in this project (if it is just about incrementing numbers on LCD). John's code will get you started, not finished. Read about while loop if you want your project finished.