Robot defined variable

How to create a “Robot Defined” Variable
How would I go about creating a variable that is defined by the robot, not one that I type in, that I can use as a comparison value that only changes when I push a button when sensor values change?

rpayne12,
This forum is for questions to the VEX Technical Support staff. We cannot answer questions about 3rd party programming languages. You should direct your question to the programming forum for more help.

It seems like you double posted this in the General forum, and someone from the community is already trying to help you:
https://vexforum.com/showthread.php?p=365227#post365227

Let us know if you have any other questions.