In the previous tip, I mentioned how ASP pages which
Option Explicit and have variable names that seem to
mysteriously appear are difficult to read. The same is true if your variable names
are hectically declared all over the ASP page.
ASP variables should be declared in one of two places: at the top of the ASP page, before any other ASP commands or logic is implemented, or at the block of code they will be used in exclusively. Do not declare a variable half way down your ASP page which is only used once at the very end. This does nothing but confuse those who are reading your source code!
Before you mosey on, be sure to read the summary page! Have a great day, and happy programming!