Project 02 "Spaceship Interface"

As soon as it starts to upload the program from the Sketchbook it gives an error message:
"expected unqualified-id before numeric constant" and highlights line 2 of the code, which reads

2 void setup(){

Since I haven't entered any of the code (I wanted to see if the program would work without any input
from me) I don't understand why this doesn't work.

Obviously a total novice, but would appreciate some advice.

Many thanks.

press enter on the '{' void setup() part. see if that works, if not, move '{' above the void setup and see if that works.

kind regards,
-Goldfile

2 void setup(){

That "2" isn't in your source, I hope.

Hey AWOL,
That is what I was thinking too. Maybe just a typo?

Kind regards,
-Goldfile

Zelyntor:
Since I haven't entered any of the code

Then where did the code come from?

Your subject line seems to suggest some kind of context.