Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List all local variables

Status
Not open for further replies.

mossimo

Programmer
Dec 31, 2003
17
US
I have been stuck with the task of converting a large web sites code so that all local variables are explicitly declared. Currently <% Option Explicit %> is not used at all.

I’m looking for a way to list all local variables by page or site wide. This would save a lot of time.
 
You could search for anything with an equal sign. That should get them I suppose.

I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Yes it helps a little Mark. Only about half the variables can be found this way but it’s a start.

I was trying to re-code the standard 500-100 page shipped with IIS to loop through and report all non dim’d variables but it’s been a little difficult, still I think this is a good idea.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top