Logic#

The Logic pages are about how your VEXcode project “thinks” and acts in different situations:

  • Control let you manage the flow of your program.

  • Timer lets you keep track of elapsed time during a project.

  • Events help you react to triggers like sensor changes or button presses.

  • Math performs calculations and evaluate numerical conditions.

  • Strings manipulate and analyze text.

  • Variables hold information you want to save and use.

  • My Blocks let you group chunks of code to keep your program organized.

  • Comments help you remember what each part of your code does.

All together, they help you code projects that make decisions, respond in real-time, and keep your code neat and easy to understand.