Maybe it would have helped if you had also read the 2nd sentence after this one ;)
If I declare the variable directly before using it, I know it quite precisely. However, if the compiler then complains, I've done something wrong. It's not the variable name that's wrong, but the procedure is too...