proggramming questions

last year I used the LCD screen to select autonomous, but I had to select it as soon as the match started. As you know this year you can’t touch your robot during autonomous. How would I select the Autonomous before hand.

You could do the selection code in preauton, and each button gives a value to a variable. In auton, you just check for the value and execute your auton code accordingly.

  1. What robot system (standard assumption is Cortex, but it’s always good to confirm)?
  2. What programming language?

ROBOTC has a pre_auton() function where I used to my code for auton selection.

Thanks would any of you mind sharing your code I’m still a little new with the LCD screen

-Thanks in advance

This issue has been discussed many times in the past, and many people have shared their code. A short selection of threads to review:
ROBOTC LCD autonomous selection - Technical Discussion - VEX Forum ← probably the best
https://vexforum.com/t/lcd-screen/27551/1&highlight=Autonomous
https://vexforum.com/t/vex-lcd-autonomous-help/27466/1&highlight=Autonomous
https://vexforum.com/t/question-about-lcd-display-in-robotc/27342/1&highlight=Autonomous
https://vexforum.com/t/help-with-sample-lcd-autonomous-program/27150/1&highlight=Autonomous

And, a couple of blog posts I wrote a while back on how to select autonomous:
http://wp.robodesigners.com/wordpress/?p=55
http://wp.robodesigners.com/wordpress/?p=54