473,699 Members | 2,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to list all variables

1st off... I am not talking about session, application, form, or server
variables..
Does any one know of an asp script or program than can analyze a ".asp" page
and report back all of the variables used.

I am re-doing some old code from the past that did not use option explicit
and it would be a lot easier to dim the variables if something could list
them off to meall at once

there must be something... I know some of the tools that convert asp to aspx
will dim variables that were not dimmed as it does the conversion... but
those converters are very expensive so I don't have one

anyone know of anything...

maybe an asp report tool that helps you doument code does it... ??
Jul 19 '05 #1
7 5137
UltraEdit (or any text editor worth it's salt), even Visual Interdev will do
it (and give you a nice list to click on).

Do a find for 'Dim ' and work from there.

Chris.

"James Monroe" <ja***********@ hotmail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
1st off... I am not talking about session, application, form, or server
variables..
Does any one know of an asp script or program than can analyze a ".asp" page
and report back all of the variables used.

I am re-doing some old code from the past that did not use option explicit
and it would be a lot easier to dim the variables if something could list
them off to meall at once

there must be something... I know some of the tools that convert asp to aspx
will dim variables that were not dimmed as it does the conversion... but
those converters are very expensive so I don't have one

anyone know of anything...

maybe an asp report tool that helps you doument code does it... ??

Jul 19 '05 #2
Now what good is searching for a "dim" in the source code going to do if the
variables are not dimmed in the 1st place ?
I don't think you read the question very well and your response is not
relevant at all.

Thx go out to the guy who posted the object cleanup vbscript, but it really
doesn't do much that I see except tell you whether or not the ".asp" file in
question needs to be reviewed or not.

"Chris Barber" <ch***@blue-canoe.co.uk.NOS PAM> wrote in message
news:uJ******** ******@tk2msftn gp13.phx.gbl...
UltraEdit (or any text editor worth it's salt), even Visual Interdev will do it (and give you a nice list to click on).

Do a find for 'Dim ' and work from there.

Chris.

"James Monroe" <ja***********@ hotmail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
1st off... I am not talking about session, application, form, or server
variables..
Does any one know of an asp script or program than can analyze a ".asp" page and report back all of the variables used.

I am re-doing some old code from the past that did not use option explicit
and it would be a lot easier to dim the variables if something could list
them off to meall at once

there must be something... I know some of the tools that convert asp to aspx will dim variables that were not dimmed as it does the conversion... but
those converters are very expensive so I don't have one

anyone know of anything...

maybe an asp report tool that helps you doument code does it... ??

Jul 19 '05 #3
James Monroe wrote:
Now what good is searching for a "dim" in the source code going to do
if the variables are not dimmed in the 1st place ?
I don't think you read the question very well and your response is not
relevant at all.


Here's a great lesson in how to get help:
Never fail to criticize somebody for taking the time to try and help. This
will make people so much more eagar to try an help you in the future ...
NOT!

Don't bother replying: I won't see it.

Jul 19 '05 #4
"James Monroe" wrote:

Now what good is searching for a "dim" in the source code
going to do if the variables are not dimmed in the 1st
place ?


For starters, it will allow you to invntory those variables that have been
explicitly declared. You can use the Option Explicit Statement to find the rest.

You can work it out yourself with that attitude.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use of
this email address implies consent to these terms. Please do not contact me
directly or ask me to contact you directly for assistance. If your question is
worth asking, it's worth posting.
Jul 19 '05 #5
actually... this is a perfect example of typical newgroup attitude...

taking things personal that are not
not taking the time to fully read read a question
spitting out non relevent answers

what part of no variables are declared is so hard to understand ??
no wonder people get annoyed with these newgroups

"Dave Anderson" <GT**********@s pammotel.com> wrote in message
news:3f******** *************** @newsreader.vis i.com...
"James Monroe" wrote:

Now what good is searching for a "dim" in the source code
going to do if the variables are not dimmed in the 1st
place ?
For starters, it will allow you to invntory those variables that have been
explicitly declared. You can use the Option Explicit Statement to find the

rest.
You can work it out yourself with that attitude.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use of this email address implies consent to these terms. Please do not contact me directly or ask me to contact you directly for assistance. If your question is worth asking, it's worth posting.

Jul 19 '05 #6
Point taken, I did 'misread' the post.
Thanks for the sarcasm though, much appreciated.

Chris.
"James Monroe" <ja***********@ hotmail.com> wrote in message
news:u6******** ******@TK2MSFTN GP11.phx.gbl...
Now what good is searching for a "dim" in the source code going to do if the
variables are not dimmed in the 1st place ?
I don't think you read the question very well and your response is not
relevant at all.

Thx go out to the guy who posted the object cleanup vbscript, but it really
doesn't do much that I see except tell you whether or not the ".asp" file in
question needs to be reviewed or not.

"Chris Barber" <ch***@blue-canoe.co.uk.NOS PAM> wrote in message
news:uJ******** ******@tk2msftn gp13.phx.gbl...
UltraEdit (or any text editor worth it's salt), even Visual Interdev will do it (and give you a nice list to click on).

Do a find for 'Dim ' and work from there.

Chris.

"James Monroe" <ja***********@ hotmail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
1st off... I am not talking about session, application, form, or server
variables..
Does any one know of an asp script or program than can analyze a ".asp" page and report back all of the variables used.

I am re-doing some old code from the past that did not use option explicit
and it would be a lot easier to dim the variables if something could list
them off to meall at once

there must be something... I know some of the tools that convert asp to aspx will dim variables that were not dimmed as it does the conversion... but
those converters are very expensive so I don't have one

anyone know of anything...

maybe an asp report tool that helps you doument code does it... ??


Jul 19 '05 #7
"James Monroe" wrote:

actually... this is a perfect example of typical newgroup attitude...
Irony. Amusing.
taking things personal that are not


[Snip]

Yawn. As I said, work it out yourself. I suggest a helping of regular
expressions and a focus on the assignment operator.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2385
by: oom | last post by:
I am a bit of a newbie when it comes to python, when working with lists today I noticed some very odd behaviour, any suggestions welcome: Python 2.2.3 (#1, Nov 6 2003, 14:12:38) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> firstlist= >>> secondlist=firstlist >>> print (firstlist,secondlist)
2
2999
by: Steve | last post by:
Hi, I have a very long string, someting like: DISPLAY=localhost:0.0,FORT_BUFFERED=true, F_ERROPT1=271\,271\,2\,1\,2\,2\,2\,2,G03BASIS=/opt/g03b05/g03/basis, GAMESS=/opt/gamess,GAUSS_ARCHDIR=/opt/g03b05/g03/arch, GAUSS_EXEDIR=/opt/g03b05/g03/bsd:/opt/g03b05/g03/private:/opt/g03b05/g
3
3149
by: flamesrock | last post by:
Lets say I have a list containing 12, 13, 23 or however many entries. What I want is the greatest number of lists evenly divisible by a certain number, and for those lists to be assigned to variables. This leads to a few problems.. If I don't know the length of the list beforehand, I can't create the variables and hardcode them. Is it possible in python to generate free variables without stating them explicitly in the code, and if so,...
0
10204
by: Jan | last post by:
I store sql-commands in a database table. In the first step I get the sql command out of the database table with embedded sql. In the second step I try to execute the command, which i got from the database table, using dynamic sql. Executing 'EXEC SQL DESCRIBE SELECT LIST FOR S INTO select_dp;' the error code -2149 is returned That means "Specified partition does not exist". Does anybody know if it is a database problem or a problem of
15
2150
by: C White | last post by:
I've got another drop list problem I am using the following code where users select a name, but it should pass a name and email into the table <select name="user"> <option value="<% Response.Write (rsUser("Name")) %>"> <% Response.Write (rsUser("Name")) %> <input type="hidden" name="Email" value="<% Response.Write (rsUser("Email")) %>">
6
1977
by: jena | last post by:
hello, when i create list of lambdas: l=] then l() returns 'C', i think, it should be 'A' my workaround is to define helper class with __call__ method: class X: def __init__(self,s): self.s=s def __call__(self): return self.s.upper() l=]
35
3594
by: Thierry Loiseau | last post by:
Hello all, and Happy end year 2005 ! Well, I would like to obtain a list of all JavaScript var statement, With "for...in" perharps ? That is bellow my recent test here, but the problem is to management theses :-((( I must to declare and use all variable with this scheme :
5
1863
by: SKumar | last post by:
Hi All, I have a list which contains my class objects. My class is having two variables. I want to sort the list based on these two variables. Ex : class Foo { ... ...
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.