Strange error I'm getting

So today I opened a program file.
When I had opened it, it gave me strange errors I’ve never seen before.


I have the motors on the right defined, but it keeps on giving me this error.
I also tried deleting and adding back in the motors but that didn’t work either.
I have no idea what is going on. Is there a solution?

It would appear you forgot to put your code inside of functions like auton, driver control, and main.

1 Like