Help! Trying to set up if statement for inut pin

I have been trying to use this command but only being a novice I am lost. I get error 67 - undefined error. can anyone tell me how to define input pin? thanks

More questions in this forum