Expected primary expression

thanks B707 it's good of you to help. I have corrected a few errors in the sketch and thought that this was the only thing in my way. Judging by the number of posts concerning this error, I'm not the only one having trouble with it -not that that helps a lot. If you have the patience and time I would be grateful if you could go through all the errors or at least some. I need to learn and can't see that copying syntax will help much. I have had done several successful sketches but get held up with the error mentioned above and "unqualified id' and haven't got my head around them yet. what do you think?
Best wishes Tom from Down Under.