hi jon
you might need to have a look at the Arduino reference, in particular at how variables work.
In the code above you have put the variable declaration in the space where the variable should be.
Here are two examples of declaring a variable, generally in the setup function:
int someVariable = 0;
byte someOtherVariable= 13;
Then further down in the program you can use the variable. for example:
Serial.println(someVariable);
If I were you I'd go abck and do a few of the intro tutorials, and check out how the variables work. Reading the reference material is good too, and in combination with hands-on it is an excellent way to learn!
D