Please post the entire code, including the #pragma statements, as we will need this information to ensure the correct button is being accessed by the code. As it stands right now, there is one major problem I am seeing:
Touch sensors will only return a value of 0 or 1, and you won't have a condition where it returns a value less than 0. In short, this if statement's code will never execute. Instead, try this:
Check out our Blog
! And our Facebook page
Need help? Take a look at our updated help documentation
and the ROBOTC Forums.