My set theory book has this sentence.(It was written in my native language. I translated these. Sorry for poor English.)
When $x$ is assigned as the value of the independent variable of the function $f$, then the value of the dependent variable is denoted by $f(x)$.
And the following sentence is in the footnote.
If the independent variable of $f$ is $x$, we get a ridiculous expression "When $x$ is assigned as the value of $x$..." We can solve this problem by distinguishing between syntactical and semantical variables.
I can not understand this footnote. What is the difference between semantical and syntactical variables?