This Error message "variable name expected" keeps coming up, what does that mean?
This probably means that you're using a keyword incorrectly or mistyping a variable. "Variable name expected" generally means it's come across a word that isn't a keyword (e.g. if, for and so on) and that also isn't a variable that you have declared.
Is it showing you what word is causing the problem?
You can post the line of code here, where the error is. Maybe also the line just before.