473,322 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 5117
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**************@tk2msftngp13.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.NOSPAM> wrote in message
news:uJ**************@tk2msftngp13.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**************@tk2msftngp13.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**********@spammotel.com> wrote in message
news:3f***********************@newsreader.visi.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**************@TK2MSFTNGP11.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.NOSPAM> wrote in message
news:uJ**************@tk2msftngp13.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**************@tk2msftngp13.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
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...
2
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,...
3
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...
0
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...
15
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="<%...
6
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...
35
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...
5
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.